http_proxy using HTTP/1.1?

Ian Neubert lists at ruby-forum.com
Wed Feb 13 21:41:50 MSK 2008


Ian Neubert wrote:
> I actually found my problem. Headers are being sent to the proxied 
> server that are interfering.
> 
> Is it possible to tell nginx to not send certain headers to the proxied 
> servers?
> 
> Thanks.
> 
> -Ian

That was easy.

To stop a header from being sent to the proxied servers just set the 
header to blank!

For example:
proxy_set_header Authorization "";
proxy_set_header User-Agent "";

HTH someone else.

-Ian
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list