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

Remove legacy variables

parent 8ec38b2b
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ backend backend_{{host}} ...@@ -172,7 +172,7 @@ backend backend_{{host}}
{% if host == inventory_hostname or host == 'localhost' %} {% if host == inventory_hostname or host == 'localhost' %}
http-response deny http-response deny
{% else %} {% 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 %} {% endif %}
backend backend_{{host}}_bigpipe backend backend_{{host}}_bigpipe
...@@ -180,7 +180,7 @@ backend backend_{{host}}_bigpipe ...@@ -180,7 +180,7 @@ backend backend_{{host}}_bigpipe
http-response deny http-response deny
{% else %} {% else %}
no option http-buffer-request 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 %} {% endif %}
backend backend_{{host}}_https backend backend_{{host}}_https
...@@ -188,7 +188,7 @@ backend backend_{{host}}_https ...@@ -188,7 +188,7 @@ backend backend_{{host}}_https
http-response deny http-response deny
{% else %} {% else %}
http-response set-header Strict-Transport-Security "max-age=16000000; includeSubDomains; preload;" 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 %} {% endif %}
backend backend_{{host}}_https_bigpipe backend backend_{{host}}_https_bigpipe
...@@ -197,7 +197,7 @@ backend backend_{{host}}_https_bigpipe ...@@ -197,7 +197,7 @@ backend backend_{{host}}_https_bigpipe
{% else %} {% else %}
no option http-buffer-request no option http-buffer-request
http-response set-header Strict-Transport-Security "max-age=16000000; includeSubDomains; preload;" 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 %} {% endif %}
{% endfor %} {% endfor %}
{% if varnish_host|default(false) %} {% if varnish_host|default(false) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment