I think it simply references the include support in nginx core: <a href="http://wiki.nginx.org/NginxHttpMainModule#include">http://wiki.nginx.org/NginxHttpMainModule#include</a><br><br>It means you can have files that contain the map directives and use include to include them into your configuration as needed.<br>
<br>- Merlin<br><br><div class="gmail_quote">On Thu, Mar 19, 2009 at 11:18 AM, Resi Cow <span dir="ltr"><<a href="mailto:email@example.com">firstname.lastname@example.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I am looking at using Nginx and specifically the Map Module.<br><br><a href="http://wiki.nginx.org/NginxHttpMapModule" target="_blank">http://wiki.nginx.org/NginxHttpMapModule</a><br><br>I have used the rewrite map stuff in Apache, and I know in Apache you can load a key / value pair list from a text file. I had assumed looking at the 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 the Nginx Map Module there was this:<br>
<br>include — the maps will be included from a file, or even from multiple files when using wildcards.
<br><br>How does this work? I was hoping someone with some experience can elaborate on this feature, as I was unable to find additional information on this.<br><br>1) So can the values actually be pulled from a file instead?<br>
2) What type of file, what format?<br>3) If the map file is updated, does Nginx need to be restarted for the changes to take effect?<br><br>I apologize if these questions have already been answered somewhere, I searched and searched and only found that single reference to the "include" support in the Map Module.<br>