Using add_header at server level context
thijskoerselman at gmail.com
Mon Sep 30 13:42:50 UTC 2013
>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:
add_header X-AppServer $upstream_addr;
add_header X-AppServer-Status $upstream_status;
add_header X-Cache $upstream_cache_status;
Am I missing something or is this just not working at the server level for
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx