> 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 _;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel