From e3504cee99dab2331df59f6463e5be5ac222dedd Mon Sep 17 00:00:00 2001 From: Soulou Date: Thu, 30 Apr 2015 16:31:07 +0200 Subject: Initial version --- nginx-munin | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nginx-munin (limited to 'nginx-munin') 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"; + } +} -- cgit v1.2.3