MAP location in conf file

Aziz Rozyev arozyev at
Fri Dec 29 10:16:11 UTC 2017

check docs:

every directive description has a “Context” field, where you may find
in which configuration context you can put the directive.

regarding your questions, yes, you actually have to put it on the very top - in ‘http'


> On 29 Dec 2017, at 04:06, lists at wrote:
> Presently I'm putting maps in the server location. Can they be put in
> the very top to make them work for all servers? If not, I can just make
> the maps into include files and insert as needed, but maybe making the
> map global is more efficient.
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list