diff options
Diffstat (limited to 'nginx-munin')
-rw-r--r-- | nginx-munin | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nginx-munin b/nginx-munin new file mode 100644 index 0000000..ab67f68 --- /dev/null +++ b/nginx-munin @@ -0,0 +1,16 @@ +server { + listen 80 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"; + } +} |