Phantom redirects in Log file

Patrick Mulder mulder.patrick at gmail.com
Tue Jul 3 13:21:24 UTC 2012


On Tue, Jul 3, 2012 at 3:03 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
>> xxx.xxx.211.94] /  IND - Bangalore  / domain1.info / -
>> [03/Jul/2012:13:15:31 +0200] "GET /favicon.ico HTTP/1.1" 200 0 /
>> Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like
>> Gecko) Chrome/20.0.1132.47 Safari/536.11
>> xxx.xxx.211.94] /  IND - Bangalore  / domain2.com / -
>> [03/Jul/2012:13:15:41 +0200] "-" 400 0 / -
>>
>>
>> Anyone knows why there is redirect at the end of the visiti in the
>> log? What's the effect for the visitor on the other end?
>
> Why do you think it's redirect?  Most likely "domain2.com" is just
> a default server on the listen socket used, and an invalid request
> (or, rather, a connection without a request at all) was logged in
> it's context.
>
> See here for more details:
> http://nginx.org/en/docs/http/request_processing.html

Thanks, that helps in my understanding! I'll test the influence of
having the default_server set to domain1.
Btw, is there some help / tools to see the difference between a
connection and an HTTP request?



More information about the nginx mailing list