Welcome! Log In Create A New Profile

Advanced

error page and internal command

Fernando Flórez
October 08, 2009 07:04PM
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!
Subject Author Posted

error page and internal command

Fernando Flórez October 08, 2009 07:04PM

Re: error page and internal command

Igor Sysoev October 09, 2009 02:22AM

Re: error page and internal command

Igor Sysoev October 09, 2009 02:14PM

Re: error page and internal command

Fernando Flórez October 09, 2009 02:14PM

Re: error page and internal command

Maxim Dounin October 09, 2009 02:14PM

Re: error page and internal command

Igor Sysoev October 09, 2009 03:40PM

Re: error page and internal command

Fernando Flórez October 09, 2009 06:30PM

Re: error page and internal command

Fernando Flórez October 09, 2009 02:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready