On proxies, varnish is on port 6081

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-08 22:18:37 +00:00
parent 0eac85dcb2
commit e680b96895

View file

@ -11,7 +11,11 @@ VARNISH_VCL_CONF=/etc/varnish/default.vcl
# and IPv6 interfaces, otherwise specify a host name, an IPv4 dotted
# quad, or an IPv6 address in brackets.
# VARNISH_LISTEN_ADDRESS=192.168.1.5
{% if "proxy" in inventory_hostname %}
VARNISH_LISTEN_PORT=6081
{% else %}
VARNISH_LISTEN_PORT=80
{% endif %}
# Admin interface listen address and port
VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1