On 06/04/2016 23:14, Francis Daly wrote:
...........
That's not what I get.
If you still have the problem, perhaps the debug log will show more
about what is going on.
Is there a way to customize my error page for this case?
What you have done should work. Depending on the rest of your config,
of course.
Alternatively is there a way to override nginx's 404 page so it
doesn't reveal the server.
Patch the code and recompile.
You probably don't want to do that.
f
I suspect my issue has more to do with me not understanding the way server names
are matched. I look in vain for some equivalent to apache2ctl -S, but can't find it.
I have only one vhost with the default_server present and thought that
listen 80 default_server;
would fire for servers without an explicit match. Some simple testing reveals
another is matching, but I don't know which one yet.
As this is a live server I won't try the debug route there, just bad luck we got
an IP address that had previous connections to some kind of music distribution.
Compiling nginx would be a last resort.
Sorry for the noise.
--
Robin Becker
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx