added support for includes and auths, extended docu
This commit is contained in:
parent
b1b10fad9b
commit
1ec6fbb1fd
8 changed files with 58 additions and 7 deletions
10
templates/maps.conf.j2
Normal file
10
templates/maps.conf.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% for map in nginx.maps %}
|
||||
{% set m = nginx.maps[map] %}
|
||||
# {{ map }}
|
||||
map ${{ m.source }} ${{ m.destination }} {
|
||||
{% for i in m.data %}
|
||||
'{{ i }}' '{{ m.data[i] }}';
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue