diff options
author | Soulou <leo@unbekandt.eu> | 2015-04-30 16:31:07 +0200 |
---|---|---|
committer | Soulou <leo@unbekandt.eu> | 2015-04-30 16:31:07 +0200 |
commit | e3504cee99dab2331df59f6463e5be5ac222dedd (patch) | |
tree | 65b6681743022105241cc423eb035f96f826edc0 /nginx-munin | |
download | munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.gz munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.bz2 munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.xz munin-e3504cee99dab2331df59f6463e5be5ac222dedd.zip |
Initial version
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"; + } +} |