diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-08-22 03:16:12 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-08-22 03:16:12 -0400 |
commit | 70dbad6c5567bf3661cb8d19edd432f5af0d82b3 (patch) | |
tree | 327f40523a342a37e5488f57eae6a1b521570861 /modules/certbot/files/bootstrap-certbot | |
parent | c7d95769fc65c8913137854e6593d701863612d6 (diff) | |
download | puppet-tozt-70dbad6c5567bf3661cb8d19edd432f5af0d82b3.tar.gz puppet-tozt-70dbad6c5567bf3661cb8d19edd432f5af0d82b3.zip |
add certbot config for metabase
Diffstat (limited to 'modules/certbot/files/bootstrap-certbot')
-rwxr-xr-x | modules/certbot/files/bootstrap-certbot | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/certbot/files/bootstrap-certbot b/modules/certbot/files/bootstrap-certbot index 1bfedac..b57b4b4 100755 --- a/modules/certbot/files/bootstrap-certbot +++ b/modules/certbot/files/bootstrap-certbot @@ -69,6 +69,13 @@ http { root /tmp; } } + server { + listen 80; + server_name metabase.tozt.net; + location / { + root /tmp; + } + } } EOF @@ -77,7 +84,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 -d munin.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 -d metabase.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 -d munin.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 -d metabase.tozt.net --config-dir "$config_dir" fi |