how can i quickly handle alternate config for site downtime?

Jonathan Vanasco nginx at 2xlp.com
Wed Jan 7 01:57:36 MSK 2009


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.





More information about the nginx mailing list