summaryrefslogtreecommitdiffstats
path: root/debian/local/apache2/netdata.conf
blob: 10d65668b414e6df720f9f3155821fc5193f514e (plain)
1
2
3
4
5
6
7
8
9
10
11
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>