On proxies, varnish is on port 6081
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
0eac85dcb2
commit
e680b96895
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue