Re: Using add_header at server level context

2013-10-07 Thread Thijs Koerselman
Thanks. So using add_header in the location scope omits any earlier add_header statements used in the parent scope. I am surprised that it works like that, but it's definitely good to know. On Mon, Sep 30, 2013 at 4:30 PM, Francis Daly wrote: > On Mon, Sep 30, 2013 at 03:42:50PM +0200, Thijs K

Re: Using add_header at server level context

2013-09-30 Thread Francis Daly
On Mon, Sep 30, 2013 at 03:42:50PM +0200, Thijs Koerselman wrote: Hi there, > From the add_header docs I understand that it works at location, http and > server context. But when I use add_header at the server level I don't see > the headers being added to the response. > Am I missing something

Using add_header at server level context

2013-09-30 Thread Thijs Koerselman
>From the add_header docs I understand that it works at location, http and server context. But when I use add_header at the server level I don't see the headers being added to the response. For example my server config starts with: server { listen9088; server_name loca