2014-08-17 00:35:57 +03:00
|
|
|
# nginx status module + munin aliases
|
|
|
|
server {
|
|
|
|
listen localhost:80;
|
|
|
|
|
2015-03-09 13:32:09 +03:00
|
|
|
log_not_found off;
|
|
|
|
|
2014-08-17 00:35:57 +03:00
|
|
|
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/;
|
2014-10-05 15:47:14 +03:00
|
|
|
index index.html
|
2014-08-17 00:35:57 +03:00
|
|
|
expires modified +310s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set ts=4 sw=4:
|