ansible-personal/roles/nginx/files/munin.conf
Alan Orth 2b02d94254
roles/nginx: Don't cache 404 errors in munin config
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-09 13:32:09 +03:00

27 lines
473 B
Plaintext

# nginx status module + munin aliases
server {
listen localhost:80;
log_not_found off;
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
location /munin/static/ {
alias /etc/munin/static/;
expires modified +1w;
}
location /munin/ {
alias /var/cache/munin/www/;
index index.html
expires modified +310s;
}
}
# vim: set ts=4 sw=4: