summaryrefslogtreecommitdiffstats
path: root/modules/certbot
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/certbot
parent93db4d1022398616d958c29f192fc3fdade1bf76 (diff)
downloadpuppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.tar.gz
puppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.zip
start configuring munin
Diffstat (limited to 'modules/certbot')
-rwxr-xr-xmodules/certbot/files/bootstrap-certbot11
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/certbot/files/bootstrap-certbot b/modules/certbot/files/bootstrap-certbot
index 5a563b2..1bfedac 100755
--- a/modules/certbot/files/bootstrap-certbot
+++ b/modules/certbot/files/bootstrap-certbot
@@ -62,6 +62,13 @@ http {
root /tmp;
}
}
+ server {
+ listen 80;
+ server_name munin.tozt.net;
+ location / {
+ root /tmp;
+ }
+ }
}
EOF
@@ -70,7 +77,7 @@ if [ -z "$is_running" ]; then
fi
if [ -z "$config_dir" ]; then
- /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.tozt.net -d git.tozt.net -d rss.tozt.net
+ /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.tozt.net -d git.tozt.net -d rss.tozt.net -d munin.tozt.net
else
- /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.tozt.net -d git.tozt.net -d rss.tozt.net --config-dir "$config_dir"
+ /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.tozt.net -d git.tozt.net -d rss.tozt.net -d munin.tozt.net --config-dir "$config_dir"
fi