diff --git a/roles/nginx/files/munin.conf b/roles/nginx/files/munin.conf index bcba2a3..8466092 100644 --- a/roles/nginx/files/munin.conf +++ b/roles/nginx/files/munin.conf @@ -1,6 +1,8 @@ # nginx status module + munin aliases server { - listen localhost:80; + listen 127.0.0.1:80; + listen [::]:80; + server_name localhost; log_not_found off; @@ -8,6 +10,7 @@ server { stub_status on; access_log off; allow 127.0.0.1; + allow ::1; deny all; } @@ -18,7 +21,6 @@ server { location /munin/ { alias /var/cache/munin/www/; - index index.html expires modified +310s; } }