proxy_set_header not effetive in http scope?

Maxim Dounin mdounin at mdounin.ru
Wed Sep 10 21:18:38 MSD 2008


Hello!

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

>any other such directives?

It's default behaviour for almost all array-type directives.

The only exception I'm able to remind is access_log, which accepts
special 'off' value to reset inherited values.

Maxim Dounin

>
>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/
>>
>>
>





More information about the nginx mailing list