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

Bug fix and reverse proxy

parent 44131dc5
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ backend backend_{{host}}
{% if varnish_host|default(false) %}
backend backend_varnish
{% if varnish_host == inventory_host %}
{% if varnish_host == inventory_hostname %}
server varnish 127.0.0.1:6081 maxconn 32
{% else %}
server varnish {{ hostvars[varnish_host]['static_ipv4']|default(hostvars[varnish_host]['ansible_default_ipv4']['address']) }}:6081 maxconn 32
......
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