On Wed, Oct 20, 2010 at 07:26:00PM +0200, Witold Filipczyk wrote:
> > With this configuration
> >
> > error_page 404 /404.html;
> > locaiton = /404.html {
> > root /path/to/page;
> > }
> >
> > you will get 404 code with /404.html body for this request:
> > http://blabla1.com/non-existant.html
> >
> > and 200 code with /404.html body for this request:
> > http://blabla1.com/404.html
>
> There is:
> server {
> server_name _;
> error_page 404 /404.html;
> location = /404.html {
> root /blabla;
> }
> }
>
> blabla1.com goes into _;
And where is question ?
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel