Invalid "host" information in access and error logs

tamere22 tamere22 at yopmail.com
Wed Oct 28 13:36:15 UTC 2015


Hi,

My message is referring to this bug report : https://trac.nginx.org/nginx/ticket/818#comment:6

The person answering me told me to come talk here about this.

I don't understand his answers, as "How nginx processes a request" page states 

"In this configuration nginx tests only the request’s header field “Host” to determine which server the request should be routed to"

Well first of all, I m pretty sure that there is no error in nginx routing because I get the good access logs for the good sites. It's just that "host" field in access logs is completly random whereas "server" field is ok.

Please review my bug report, it contains sampl configurations.

Someone can explain me why I get random "host" information in access logs ?

Thanks



More information about the nginx mailing list