aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2019-01-21 19:23:52 +0100
committerKristian Lyngstol <kly@kly.no>2019-01-21 19:23:52 +0100
commit4f9cd6706692eb6b1a000efb37cfe76e202e6d07 (patch)
tree2b7e7b3d8014ba446d99159f286a1a94c60ff395
parent54419582734d0fb820c8c08a7847eb6961f481c5 (diff)
Use ::1 instead of localhost to avoid multiple IPs
Fixes #193
-rw-r--r--ansible/roles/web/files/varnish.vcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/web/files/varnish.vcl b/ansible/roles/web/files/varnish.vcl
index b082971..2cdbbfe 100644
--- a/ansible/roles/web/files/varnish.vcl
+++ b/ansible/roles/web/files/varnish.vcl
@@ -3,12 +3,12 @@
vcl 4.0;
backend default {
- .host = "localhost";
+ .host = "::1";
.port = "8080";
}
backend influx {
- .host = "localhost";
+ .host = "::1";
.port = "8086";
}