add nginx_maps_extra var
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d8667df8d8
commit
244653de8e
@ -97,6 +97,7 @@ nginx_maps: []
|
|||||||
# - "default 0"
|
# - "default 0"
|
||||||
# - "/old/path /new_path"
|
# - "/old/path /new_path"
|
||||||
# @end
|
# @end
|
||||||
|
nginx_maps_extra: []
|
||||||
|
|
||||||
nginx_error_page: []
|
nginx_error_page: []
|
||||||
# @var nginx_error_page:example:
|
# @var nginx_error_page:example:
|
||||||
|
@ -39,7 +39,7 @@ http {
|
|||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
{% for map in nginx_maps %}
|
{% for map in nginx_maps + nginx_maps_extra %}
|
||||||
map {{ map.input }} {{ map.output }} {
|
map {{ map.input }} {{ map.output }} {
|
||||||
{% for param in map.parameters %}
|
{% for param in map.parameters %}
|
||||||
{{ param }};
|
{{ param }};
|
||||||
|
Loading…
Reference in New Issue
Block a user