add nginx_maps_extra var
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-05-25 14:03:18 +02:00
parent d8667df8d8
commit 244653de8e
2 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ nginx_maps: []
# - "default 0"
# - "/old/path /new_path"
# @end
nginx_maps_extra: []
nginx_error_page: []
# @var nginx_error_page:example:

View File

@ -39,7 +39,7 @@ http {
default upgrade;
'' close;
}
{% for map in nginx_maps %}
{% for map in nginx_maps + nginx_maps_extra %}
map {{ map.input }} {{ map.output }} {
{% for param in map.parameters %}
{{ param }};