diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:58:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:58:04 +0000 |
commit | 89f8d515746f459d7ca8e6261bd590bd1b4602bd (patch) | |
tree | e419fa4503aef64498a4e74697f5b35b26e9c8d6 /debian/local | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-89f8d515746f459d7ca8e6261bd590bd1b4602bd.tar.xz netdata-89f8d515746f459d7ca8e6261bd590bd1b4602bd.zip |
Adding debian version 1.44.3-2.debian/1.44.3-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/apache2/netdata.conf | 12 | ||||
-rw-r--r-- | debian/local/netdata/netdata.conf | 19 |
2 files changed, 31 insertions, 0 deletions
diff --git a/debian/local/apache2/netdata.conf b/debian/local/apache2/netdata.conf new file mode 100644 index 00000000..10d65668 --- /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> diff --git a/debian/local/netdata/netdata.conf b/debian/local/netdata/netdata.conf new file mode 100644 index 00000000..e15f9b89 --- /dev/null +++ b/debian/local/netdata/netdata.conf @@ -0,0 +1,19 @@ +# NetData Configuration + +# The current full configuration can be retrieved from the running +# server at the URL +# +# http://localhost:19999/netdata.conf +# +# for example: +# +# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf +# + +[global] + run as user = netdata + web files owner = root + web files group = root + # Netdata is not designed to be exposed to potentially hostile + # networks. See https://github.com/netdata/netdata/issues/164 + bind socket to IP = 127.0.0.1 |