Custom 503 Error Page

Douglas A. Seifert dseifert at searchspark.com
Sun Feb 3 04:08:29 MSK 2008


> >I start getting a 503 HTTP status code, but the content is not my custom
> >error page, but rather the default 503 response compiled into the nginx
> >server.
> >
> >Am I doing something terribly wrong?  I would really like to see my
> >custom page with a real 503 HTTP status code.
> 
> If you want to use custom response for 503 error, you should write
> 
>       error_page 503 /system/maintenance.html;
> 
> in your config.
> 

Thanks for the response.  Unfortunately, however, that has no effect.  I still see the compiled in 503 content.

-Doug Seifert





More information about the nginx mailing list