Skip to content
Snippets Groups Projects
Commit e6c33c2d authored by jurgenhaas's avatar jurgenhaas
Browse files

Remove legacy variables

parent 8ec38b2b
Branches
Tags v1.7.3
No related merge requests found
......@@ -172,7 +172,7 @@ backend backend_{{host}}
{% if host == inventory_hostname or host == 'localhost' %}
http-response deny
{% else %}
server server_{{host}} {{hostvars[host]['static_ipv4']|default(hostvars[host]['ansible_default_ipv4']['address'])}}:80 maxconn 100
server server_{{host}} {{hostvars[host]['static_ipv4']}}:80 maxconn 100
{% endif %}
backend backend_{{host}}_bigpipe
......@@ -180,7 +180,7 @@ backend backend_{{host}}_bigpipe
http-response deny
{% else %}
no option http-buffer-request
server server_{{host}} {{hostvars[host]['static_ipv4']|default(hostvars[host]['ansible_default_ipv4']['address'])}}:80 maxconn 100
server server_{{host}} {{hostvars[host]['static_ipv4']}}:80 maxconn 100
{% endif %}
backend backend_{{host}}_https
......@@ -188,7 +188,7 @@ backend backend_{{host}}_https
http-response deny
{% else %}
http-response set-header Strict-Transport-Security "max-age=16000000; includeSubDomains; preload;"
server server_{{host}} {{hostvars[host]['static_ipv4']|default(hostvars[host]['ansible_default_ipv4']['address'])}}:80 maxconn 100
server server_{{host}} {{hostvars[host]['static_ipv4']}}:80 maxconn 100
{% endif %}
backend backend_{{host}}_https_bigpipe
......@@ -197,7 +197,7 @@ backend backend_{{host}}_https_bigpipe
{% else %}
no option http-buffer-request
http-response set-header Strict-Transport-Security "max-age=16000000; includeSubDomains; preload;"
server server_{{host}} {{hostvars[host]['static_ipv4']|default(hostvars[host]['ansible_default_ipv4']['address'])}}:80 maxconn 100
server server_{{host}} {{hostvars[host]['static_ipv4']}}:80 maxconn 100
{% endif %}
{% endfor %}
{% if varnish_host|default(false) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment