summaryrefslogtreecommitdiffstats
path: root/nginx-munin
blob: 66bf1d11cd2c01abf667e6a82ae85653e3e85924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server {
  listen 8080 default_server;
  server_name munin;
  access_log /var/log/nginx/munin-access.log;
  error_log /var/log/nginx/munin-server.log;

  location /munin {
    root /var/cache/munin/www;
  }

  location / {
    auth_basic "Munin Server";
    auth_basic_user_file "/etc/munin/htpasswd.users";
    root "/var/cache/munin/www";
  }
}