<p dir="ltr">On 11 Feb 2014 13:44, "parnican" <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>> wrote:<br>
><br>
> Just did some experiments with following settings:<br>
> proxy_set_header X-Real-IP $remote_addr;<br>
> proxy_pass_header X-Accel-Redirect;<br>
><br>
> No change:( ...its time to give up or any ides?</p>
<p dir="ltr">How about using it to set the header that contains the "wrong" setting - the Host header.</p>
<p dir="ltr">> Also tried:<br>
> proxy_cache_bypass $cookie_nocache $arg_nocache $arg_comment;<br>
> proxy_cache_bypass $http_pragma $http_authorization;<br>
><br>
> proxy_set_header X-Real-IP $remote_addr;<br>
> proxy_pass_header X-Accel-Redirect;<br>
><br>
> #proxy_pass_request_headers off;<br>
> #proxy_pass <a href="http://localhost:9000">http://localhost:9000</a>;<br>
> #proxy_pass_request_body off;<br>
> #proxy_redirect off;<br>
> proxy_buffering on;<br>
> }<br>
> }<br>
></p>
<p dir="ltr">You appear to be throwing crap at a wall and seeing what sticks. I suggest that you do the absolutely most simple thing that you can get to work (a Hello world mono app and nginx just passing requests through) and *only* change things as you /need/ to, one at a time, so you can see what change breaks things.</p>
<p dir="ltr">Just my 2 cents :-)<br>
J</p>