summaryrefslogtreecommitdiffstats
path: root/modules/tozt/files/nginx/munin.conf
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-12-28 04:20:36 -0500
committerJesse Luehrs <doy@tozt.net>2018-12-28 04:20:36 -0500
commit9d47ae264dd27de7415b203043ca4c3042689d65 (patch)
tree011701a3310bd35bf757e5b8b0b3160bb642b5db /modules/tozt/files/nginx/munin.conf
parent93db4d1022398616d958c29f192fc3fdade1bf76 (diff)
downloadpuppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.tar.gz
puppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.zip
start configuring munin
Diffstat (limited to 'modules/tozt/files/nginx/munin.conf')
-rw-r--r--modules/tozt/files/nginx/munin.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/munin.conf b/modules/tozt/files/nginx/munin.conf
new file mode 100644
index 0000000..982fe68
--- /dev/null
+++ b/modules/tozt/files/nginx/munin.conf
@@ -0,0 +1,10 @@
+server {
+ listen 80;
+ server_name munin.tozt.net;
+
+ access_log /var/log/nginx/munin.access.log;
+ error_log /var/log/nginx/munin.error.log;
+
+ rewrite ^(.*) https://$host$1 permanent;
+}
+# vim:ft=nginx