summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 05:48:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 05:48:59 +0000
commitb53eb7edc264d94916a5f1e829d42f8a73c6dacf (patch)
tree5e5a883cca4681224ffb1c22ccc1128343b7b8e1
parentRemoving csp in apache2 config to not interfere with csp set elsewhere. (diff)
downloadnetdata-b53eb7edc264d94916a5f1e829d42f8a73c6dacf.tar.xz
netdata-b53eb7edc264d94916a5f1e829d42f8a73c6dacf.zip
Using 127.0.0.1 instead of localhost in apache2 config to work on ipv6-only systems too.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/apache2/netdata.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/local/apache2/netdata.conf b/debian/local/apache2/netdata.conf
index 140b39bc8..48c78d7e9 100644
--- a/debian/local/apache2/netdata.conf
+++ b/debian/local/apache2/netdata.conf
@@ -2,8 +2,8 @@
ProxyRequests Off
ProxyPreserveHost On
- ProxyPass /netdata http://localhost:19999 connectiontimeout=5 timeout=30 keepalive=on
- ProxyPassReverse /netdata http://localhost:19999
+ ProxyPass /netdata http://127.0.0.1:19999 connectiontimeout=5 timeout=30 keepalive=on
+ ProxyPassReverse /netdata http://127.0.0.1:19999
</IfModule>
<IfModule mod_rewrite.c>