diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-27 09:11:12 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-27 09:11:12 -0400 |
commit | 1ec28d991b92524f59c8136bb84b9e10f7c24216 (patch) | |
tree | fa8bb47ee1010a6a8573c3bacd5ba4c47af5a193 /tozt | |
parent | 038ce36044bf631b9ecb5f5688dc7612afd0b376 (diff) | |
download | puppet-tozt-1ec28d991b92524f59c8136bb84b9e10f7c24216.tar.gz puppet-tozt-1ec28d991b92524f59c8136bb84b9e10f7c24216.zip |
create rss.tozt.net certificates
Diffstat (limited to 'tozt')
-rwxr-xr-x | tozt/certbot/files/bootstrap-certbot | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tozt/certbot/files/bootstrap-certbot b/tozt/certbot/files/bootstrap-certbot index 4cf3ea5..5a563b2 100755 --- a/tozt/certbot/files/bootstrap-certbot +++ b/tozt/certbot/files/bootstrap-certbot @@ -55,6 +55,13 @@ http { root /tmp; } } + server { + listen 80; + server_name rss.tozt.net; + location / { + root /tmp; + } + } } EOF @@ -63,7 +70,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 + /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 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 --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 --config-dir "$config_dir" fi |