error page and internal command

Fernando Flórez fernando at funciton.com
Fri Oct 9 02:56:56 MSD 2009


Hello,

I'm currently running nginx-0.7.62.

My conf goes like:

error_page 404 /404/
error_page 500 /500/

location = /404/ { internal; }
location = /500/ { internal; }

It works fine but if i visit mydomain.com/404/ i get the default nginx  
404 page instead of my custom one. Same thing with mydomain.com/500/ .  
I get the default nginx 404 page instead of my custom one.

Am i missing smth?

Thnx!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091008/86e12c0f/attachment.html>


More information about the nginx mailing list