I am looking at using Nginx and specifically the Map Module.
I have used the rewrite map stuff in Apache, and I know in Apache you
load a key / value pair list from a text file. I had assumed looking at
examples on the Wiki that the values needed to be included with the
configuration, but then I noticed that at the end of the Wiki page on
Nginx Map Module there was this:
include â€” the maps will be included from a file, or even from multiple
when using wildcards.
How does this work? I was hoping someone with some experience can
on this feature, as I was unable to find additional information on this.
- So can the values actually be pulled from a file instead?
- What type of file, what format?
- If the map file is updated, does Nginx need to be restarted for the
changes to take effect?
I apologize if these questions have already been answered somewhere, I
searched and searched and only found that single reference to the
support in the Map Module.