summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netdata/apache2/conf-available/local-netdata.conf (renamed from apache2/conf-available/local-netdata.conf)0
-rw-r--r--netdata/netdata.conf11
2 files changed, 11 insertions, 0 deletions
diff --git a/apache2/conf-available/local-netdata.conf b/netdata/apache2/conf-available/local-netdata.conf
index bd3a6ef..bd3a6ef 100644
--- a/apache2/conf-available/local-netdata.conf
+++ b/netdata/apache2/conf-available/local-netdata.conf
diff --git a/netdata/netdata.conf b/netdata/netdata.conf
new file mode 100644
index 0000000..5a19366
--- /dev/null
+++ b/netdata/netdata.conf
@@ -0,0 +1,11 @@
+[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 = 0.0.0.0
+ access log = none
+[web]
+ bind to = unix:/var/lib/netdata/netdata.socket
+ enable gzip compression = no