Fix the conditional for proxy_force_ranges

This commit is contained in:
Andrea Dell'Amico 2021-02-22 11:49:48 +01:00
parent a2deb6bb15
commit e794618adc
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}