proxy_set_header not effetive in http scope?

Igor Sysoev is at rambler-co.ru
Wed Sep 10 13:16:00 MSD 2008


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/





More information about the nginx mailing list