Welcome! Log In Create A New Profile

Advanced

Re: add_header isn't taking effect

August 18, 2012 08:34PM
On Sat, Aug 18, 2012 at 4:46 PM, Francis Daly <francis@daoine.org> wrote:

> In this location, only this one will apply. In another location, only
> the server-level one will apply.

I expected add_header to be an array item, which it might be, but I
guess I forgot how nginx scope worked.

I wish the scope would be a little looser (something that makes sense
from someone who writes scripts in PHP for a living)

I just got done reading that blog post (source I am too lazy to look
up) explaining scope on variables, and got bit by fastcgi_param scope
in the past the same way.

Oh well. :) It is odd that I get inconsistent results and I *do* seem
to get multiple headers coming through sometimes it seems, even though
it doesn't make sense from the scope level.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

add_header isn't taking effect

mike August 18, 2012 06:46PM

Re: add_header isn't taking effect

Francis Daly August 18, 2012 07:06PM

Re: add_header isn't taking effect

mike August 18, 2012 07:32PM

Re: add_header isn't taking effect

Francis Daly August 18, 2012 07:48PM

Re: add_header isn't taking effect

mike August 18, 2012 08:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 240
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready