aris
1
some url like: http://localhost.com/%u
It will response http 400 status , and when generate this response
,nothing found in error log or access log.
how to config this issue error_page?
my config
location / {
error_page 400 =/400;
}
location /400 {
root /path/some/path;
}
it don’t work.
Posted at Nginx Forum:
defage
2
how to config this issue error_page?
Does http://localhost/400 show correctly?
rr
defage
3
Hello!
On Wed, Jun 27, 2012 at 08:36:49PM -0400, defage wrote:
location /400 {
root /path/some/path;
}
it don’t work.
These errors are shown up in a default server on a listen socket
in question, as virtual host isn’t yet known when error happens.
The error_page should work, though you have to configure
it in the default server as well.
Maxim D.
defage
4
Thanks your reply. Working properly now
Posted at Nginx Forum: