summaryrefslogtreecommitdiffstats
path: root/debian/local/apache2/netdata.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:31:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:31:18 +0000
commit33bf274e12fc252b226e27a80f7edb0960ea68e5 (patch)
treedc335557085ce47d3e70b3b147f47a7b1857ed51 /debian/local/apache2/netdata.conf
parentAdding upstream version 1.37.1. (diff)
downloadnetdata-debian.tar.xz
netdata-debian.zip
Adding debian version 1.37.1-2.debian/1.37.1-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/apache2/netdata.conf')
-rw-r--r--debian/local/apache2/netdata.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/local/apache2/netdata.conf b/debian/local/apache2/netdata.conf
new file mode 100644
index 0000000..10d6566
--- /dev/null
+++ b/debian/local/apache2/netdata.conf
@@ -0,0 +1,12 @@
+<IfModule mod_proxy.c>
+ ProxyRequests Off
+ ProxyPreserveHost On
+
+ 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>
+ RewriteEngine On
+ RewriteRule ^/netdata$ /netdata/ [L,R=301]
+</IfModule>