how can i quickly handle alternate config for site downtime?

Merlin merlin at mahalo.com
Wed Jan 7 02:42:20 MSK 2009


Yes, it sets up a location that you are most likely never going to use.  It
appears to be convention within nginx configurations.  I don't know when it
started, but I've seen it on this list for some time now.  I am pretty sure
that you could use other special characters if you wanted, too, it's just a
character to nginx.

On Tue, Jan 6, 2009 at 2:57 PM, Jonathan Vanasco <nginx at 2xlp.com> wrote:

>
> On Dec 28, 2008, at 2:58 PM, Ezra Zygmuntowicz wrote:
>
>> error_page 503 @503;
>> location @503 {
>>  rewrite  ^(.*)$  /system/maintenance.html break;
>> }
>>
>
>
> forgive my constant questions on this...
>
> can you explain the @ ?
>
> its not in the docs anywhere.
>
> a friend thinks it might be a namespace that you know you aren't using.
>
> just trying to figure this out, as I can't seem to trigger the custom error
> and i think that might be part of it.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090106/84e9d77b/attachment.html>


More information about the nginx mailing list