nginx error handling/error page
steveyan777 at gmail.com
Thu Jul 8 02:02:43 MSD 2010
This is a newbie question and was probably asked before.
I have an Apache web server, and nginx is used as reverse proxy server. In
nginx, I need to parse the response from Apache, if the error code from
Apache is 500, 502, 503, 504, or if the response body from Apache is empty,
I will do some special processing before send the static error page to the
The conf has entry like this:
*error_page 500 502 503 504 /50x.html;*
What's the best way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx