error_page on 0.5.35

Jamie Quint jsquintz at
Thu Feb 21 11:51:31 MSK 2008

I have this under http in my nginx.conf file:
    error_page   404          /var/www/apps/myapp/templates/404.html;
    error_page   502 503 504  /var/www/apps/myapp/templates/500.html;

I can access these at and but when I
get a 502 gateway error instead of displaying the 500.html page I get the
default nginx page. Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list