diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:08:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:08:08 +0000 |
commit | ba729bd1d3089ba48b57ff6cab7e4ca21ccb4146 (patch) | |
tree | 156030137bdda66d88a8ae3d033ecf55d1c141da /debian/local/apache2 | |
parent | Adding upstream version 1.29.3. (diff) | |
download | netdata-ba729bd1d3089ba48b57ff6cab7e4ca21ccb4146.tar.xz netdata-ba729bd1d3089ba48b57ff6cab7e4ca21ccb4146.zip |
Adding debian version 1.29.3-4.debian/1.29.3-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/apache2')
-rw-r--r-- | debian/local/apache2/netdata.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/local/apache2/netdata.conf b/debian/local/apache2/netdata.conf new file mode 100644 index 0000000..c7f0387 --- /dev/null +++ b/debian/local/apache2/netdata.conf @@ -0,0 +1,19 @@ +<IfModule mod_proxy.c> + ProxyRequests Off + ProxyPreserveHost On + + ProxyPass /netdata http://localhost:19999 connectiontimeout=5 timeout=30 keepalive=on + ProxyPassReverse /netdata http://localhost:19999 +</IfModule> + +<IfModule mod_rewrite.c> + RewriteEngine On + + RewriteRule ^/netdata$ %{HTTP_HOST}/netdata/ [L,R=301] +</IfModule> + +<Location /netdata> + <IfModule mod_headers.c> + Header always set Content-Security-Policy "default-src 'unsafe-inline' http: 'self' 'unsafe-eval'; script-src 'unsafe-inline' http: 'self' 'unsafe-eval'; style-src http: 'self' 'unsafe-inline'" + </IfModule> +</Location> |