proxy additional options are global.
This commit is contained in:
parent
f0d5347568
commit
516375292a
|
@ -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 -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue