Welcome! Log In Create A New Profile

Advanced

Re: proxy_set_header in http section works in 0.6.32 but not 0.7.62

September 17, 2009 05:50AM
On Thu, Sep 17, 2009 at 01:47:03AM +0000, Matt wrote:

> I have found that proxy_set_header directives in the http section
> works in version 0.6.32 but not in 0.7.62, instead I have to place
> them under the location context.
>
> The specific directives I am using are:
>
> proxy_set_header Accept-Encoding "";
> proxy_set_header User-Agent "";
> proxy_set_header X-Real-IP $remote_addr;

The proxy_set_header directives in http section are inherited
in all servers and locations unless thery will be overwritten in
some server/location by any proxy_set_header.

This should work since 0.1.0.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

proxy_set_header in http section works in 0.6.32 but not 0.7.62

Matt September 17, 2009 02:38AM

Re: proxy_set_header in http section works in 0.6.32 but not 0.7.62

Igor Sysoev September 17, 2009 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready