I am getting wrong response from nginx
mdounin at mdounin.ru
Tue Apr 17 12:43:03 UTC 2012
On Tue, Apr 17, 2012 at 03:29:26PM +0300, Pekka.Panula at sofor.fi wrote:
> > 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?
Quote from http://nginx.org/r/proxy_set_header:
These directives are inherited from the previous level if and only
if there are no proxy_set_header directives defined on the current
More information about the nginx