add custom_options to location blocks
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
7e97e3e9ef
commit
e29fda3571
|
@ -128,6 +128,8 @@ nginx_vhosts_default:
|
||||||
# proxy_read_timeout: 3600s
|
# proxy_read_timeout: 3600s
|
||||||
# proxy_send_timeout: 3600s
|
# proxy_send_timeout: 3600s
|
||||||
# proxy_headers: []
|
# proxy_headers: []
|
||||||
|
# custom_options:
|
||||||
|
# - 'deny: all'
|
||||||
# error_page: /usr/share/nginx/html
|
# error_page: /usr/share/nginx/html
|
||||||
|
|
||||||
nginx_vhosts_extra: []
|
nginx_vhosts_extra: []
|
||||||
|
|
|
@ -69,6 +69,12 @@ server {
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if location.custom_options is defined and location.custom_options %}
|
||||||
|
|
||||||
|
{% for inline_option in location.custom_options %}
|
||||||
|
{{ inline_option }};
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user