Additional options out of the 'server' declaration.

This commit is contained in:
Andrea Dell'Amico 2022-05-01 18:00:25 +02:00
parent 5bc066b137
commit f0d5347568
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 1 deletions

View File

@ -170,7 +170,7 @@ nginx_virthosts: []
# additional_options: []
# proxy_standard_setup: True
# 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:
# - location: /
# target: http://localhost:{{ local_http_port }}

View File

@ -5,6 +5,9 @@ include /etc/nginx/snippets/nginx-websockets.conf;
include /etc/nginx/snippets/nginx-websockets.conf;
{% endif %}
{% endif %}
{% for add_opt in item.global_additional_options %}
{{ add_opt }};
{% endfor %}
{% if item.upstream_backends is defined %}
{% for u_bk in item.upstream_backends %}