Here is my nginx configuration http://pastie.org/private/4lceuccm9twmuiozdjnzkg
My nginx -V is:
nginx version: nginx/1.2.7
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
TLS SNI support enabled
I noticed that when I had headers (add_header) in the http{ } block, those headers were not being displayed when another add_header was placed in a location{ } block.
How can I have global headers sent to the client, and send additional headers when the client reaches a location block?