diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-18 19:00:17 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-18 19:00:17 -0400 |
commit | 68570e92a2738e3a3e66f2f33e7b75457eba6a50 (patch) | |
tree | bf402328796ccee60dff2a54249dd3df47fc2e23 /modules/certbot/files | |
parent | 7f3bbf5e838411596c202196c60ed37f3ebe6e74 (diff) | |
download | puppet-tozt-68570e92a2738e3a3e66f2f33e7b75457eba6a50.tar.gz puppet-tozt-68570e92a2738e3a3e66f2f33e7b75457eba6a50.zip |
also get a certbot cert for git.tozt.net
Diffstat (limited to 'modules/certbot/files')
-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 9102960..4cf3ea5 100755 --- a/modules/certbot/files/bootstrap-certbot +++ b/modules/certbot/files/bootstrap-certbot @@ -48,6 +48,13 @@ http { root /tmp; } } + server { + listen 80; + server_name git.tozt.net; + location / { + root /tmp; + } + } } EOF @@ -56,7 +63,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 + /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 else - /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.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 --config-dir "$config_dir" fi |