summaryrefslogtreecommitdiffstats
path: root/roles/munin-master/files/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-21 14:26:43 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-03-21 14:26:43 +0100
commit7594c60c118f185604d3ad12f2b3c0204096064d (patch)
tree580865b98ea1a03a6cbd9bb1a0265a5e440c1130 /roles/munin-master/files/etc
parent50ed488da7057c7e25857e229bf6b5625ce16633 (diff)
munin-master CGI: add application-level ACLs to keep non-local users at bay.
Diffstat (limited to 'roles/munin-master/files/etc')
-rw-r--r--roles/munin-master/files/etc/nginx/sites-available/munin4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/munin-master/files/etc/nginx/sites-available/munin b/roles/munin-master/files/etc/nginx/sites-available/munin
index fe5e7e5..d1cbda0 100644
--- a/roles/munin-master/files/etc/nginx/sites-available/munin
+++ b/roles/munin-master/files/etc/nginx/sites-available/munin
@@ -4,6 +4,10 @@ server {
server_name munin.fripost.org;
+ allow 127.0.0.0/8;
+ allow ::1/128;
+ deny all;
+
access_log /var/log/nginx/munin.access.log;
error_log /var/log/nginx/munin.error.log info;