summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 16:30:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 16:30:33 +0000
commit1f3cea2e7b1863ae58b5dabe477b8596fd9f1a48 (patch)
tree5b7286db3cd2b86e9e6326b7fcab06acf1c54ef0
parentUsing 127.0.0.1 instead of localhost in apache2 config to work on ipv6-only s... (diff)
downloadnetdata-1f3cea2e7b1863ae58b5dabe477b8596fd9f1a48.tar.xz
netdata-1f3cea2e7b1863ae58b5dabe477b8596fd9f1a48.zip
Correcting rewrite rule in apache2 config to be protocol agnostic.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/apache2/netdata.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/local/apache2/netdata.conf b/debian/local/apache2/netdata.conf
index 48c78d7e9..10d65668b 100644
--- a/debian/local/apache2/netdata.conf
+++ b/debian/local/apache2/netdata.conf
@@ -8,6 +8,5 @@
<IfModule mod_rewrite.c>
RewriteEngine On
-
- RewriteRule ^/netdata$ %{HTTP_HOST}/netdata/ [L,R=301]
+ RewriteRule ^/netdata$ /netdata/ [L,R=301]
</IfModule>