Fix the conditional for proxy_force_ranges
This commit is contained in:
parent
a2deb6bb15
commit
e794618adc
|
@ -27,7 +27,7 @@ proxy_redirect {{ nginx_proxy_redirect }};
|
||||||
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
||||||
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
||||||
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
||||||
{% if ansible_distribution_version is version_compare('18.04', '>=') %}
|
{% if ansible_distribution_version == 'Ubuntu' and ansible_distribution_major_version >= '16' %}
|
||||||
proxy_force_ranges {{ nginx_proxy_force_ranges }};
|
proxy_force_ranges {{ nginx_proxy_force_ranges }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue