Additional options out of the 'server' declaration.
This commit is contained in:
parent
5bc066b137
commit
f0d5347568
|
@ -170,7 +170,7 @@ nginx_virthosts: []
|
||||||
# additional_options: []
|
# additional_options: []
|
||||||
# proxy_standard_setup: True
|
# proxy_standard_setup: True
|
||||||
# proxy_additional_options:
|
# proxy_additional_options:
|
||||||
# - 'proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=cache:30m max_size=250m;'
|
# - 'proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=cache:30m max_size=250m'
|
||||||
# locations:
|
# locations:
|
||||||
# - location: /
|
# - location: /
|
||||||
# target: http://localhost:{{ local_http_port }}
|
# target: http://localhost:{{ local_http_port }}
|
||||||
|
|
|
@ -5,6 +5,9 @@ include /etc/nginx/snippets/nginx-websockets.conf;
|
||||||
include /etc/nginx/snippets/nginx-websockets.conf;
|
include /etc/nginx/snippets/nginx-websockets.conf;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% for add_opt in item.global_additional_options %}
|
||||||
|
{{ add_opt }};
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
{% if item.upstream_backends is defined %}
|
{% if item.upstream_backends is defined %}
|
||||||
{% for u_bk in item.upstream_backends %}
|
{% for u_bk in item.upstream_backends %}
|
||||||
|
|
Loading…
Reference in New Issue