400 bad request errors

Igor Sysoev is at rambler-co.ru
Wed Oct 7 19:13:37 MSD 2009


On Wed, Oct 07, 2009 at 10:57:57AM -0400, pepejose wrote:

> I use nginx 0.7.61 (with patch to fix VU#180065)
> 
> I read this in the wiki
> 
> << Since nginx 0.7.12, an empty server name is supported, to catch the requests without "Host" header. >>
> 
> however, I get this error "the first server name must not be empty"  then I can not catch these requests

You may set

         server_name  _  "";

"_" is just unexistant name.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list