Proxy_set_header in http section works in 0.6.32 but not 0.7.62

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;

cheers
Matt

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.