I am getting wrong response from nginx

Pekka.Panula at sofor.fi Pekka.Panula at sofor.fi
Tue Apr 17 12:29:26 UTC 2012


> By default nginx uses the name you wrote in a proxy_pass directive 
> for the Host header.  You probably want to use
> 
>     proxy_set_header Host $host;
> 
> or something similar in the locations above.
> 
> [...]
> 
> Maxim Dounin


Hi, look again, i do have a proxy_set_header line in my http block. It 
should inherit it to server blocks, afaik?


Pekka Panula | Jatkuvat palvelut | Sofor Oy | www.sofor.fi
Takakaarre 3 | PL 51 |FIN-62201 KAUHAVA | tel. +358 6 432 3111 | fax. +358 
6 432 3555 
Mob. + 358 50 384 3232 | pekka.panula at sofor.fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120417/e89ec290/attachment.html>


More information about the nginx mailing list