Re: Overridable header values (with map?)

2017-11-30 Thread Brandon Mintern
On Thu, Nov 30, 2017 at 9:45 AM, Maxim Dounin wrote: > Hello! > Hi! The error in question will only appear if you don't have the > variable defined at all, that is, it is not used anywhere in your > configuration. Using it at least somewhere will resolve the > error. That is, just add somethi

Overridable header values (with map?)

2017-11-29 Thread Brandon Mintern
We're using nginx for several different types of servers, but we're trying to unify the configuration to minimize shared code. One stumbling block is headers. For most requests, we want to add a set of standard headers: # headers.conf: add_header Cache-Control $cache_control; add_header X-Robots-