added support for includes and auths, extended docu

This commit is contained in:
nd 2020-04-18 22:29:15 +02:00
parent b1b10fad9b
commit 1ec6fbb1fd
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
8 changed files with 58 additions and 7 deletions

10
templates/maps.conf.j2 Normal file
View 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 %}