proxy additional options are global.

This commit is contained in:
Andrea Dell'Amico 2022-05-01 18:07:07 +02:00
parent f0d5347568
commit 516375292a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 7 deletions

View File

@ -8,6 +8,9 @@ include /etc/nginx/snippets/nginx-websockets.conf;
{% for add_opt in item.global_additional_options %}
{{ add_opt }};
{% endfor %}
{% for popt in item.proxy_additional_options %}
{{ popt }};
{% endfor %}
{% if item.upstream_backends is defined %}
{% for u_bk in item.upstream_backends %}
@ -142,13 +145,6 @@ server {
include /etc/nginx/snippets/nginx-proxy-params.conf;
{% endif %}
{% if item.proxy_additional_options is defined %}
{% for popt in item.proxy_additional_options %}
{{ popt }};
{% endfor %}
{% endif %}
{% endif %}
{% if item.locations is defined %}
{% for location in item.locations -%}