proxy_set_header not effetive in http scope?

Igor Sysoev is at rambler-co.ru
Wed Sep 10 21:53:20 MSD 2008


On Thu, Sep 11, 2008 at 01:00:30AM +0800, Delta Yeh wrote:

> any other such directives?

Yes, any proxy_set_header resets inherited proxy_set_header directives
for given server/location.

> 2008/9/10 Igor Sysoev <is at rambler-co.ru>:
> > On Wed, Sep 10, 2008 at 05:12:53PM +0800, Delta Yeh wrote:
> >
> >>    I test "proxy_set_header User-Agent test-ua;" and found it's  not
> >> effective in http scope but  in server scope .
> >> The same as "proxy_set_header Accept-Encoding identity;" .
> >>  Is it a bug ?
> >
> > Any proxy_set_header directive on server or location level drops all
> > inherited proxy_set_header directives.
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list