Old nginx versions do not have proxy_force_ranges.
This commit is contained in:
parent
e5df96b4b4
commit
a2deb6bb15
|
@ -27,4 +27,7 @@ proxy_redirect {{ nginx_proxy_redirect }};
|
|||
proxy_connect_timeout {{ nginx_proxy_connect_timeout }};
|
||||
proxy_read_timeout {{ nginx_proxy_read_timeout }};
|
||||
proxy_send_timeout {{ nginx_proxy_send_timeout }};
|
||||
{% if ansible_distribution_version is version_compare('18.04', '>=') %}
|
||||
proxy_force_ranges {{ nginx_proxy_force_ranges }};
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue