diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-15 01:21:02 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-15 01:21:02 -0400 |
commit | 1e021943f489e704625191e6a62c051ea580874c (patch) | |
tree | ec46a4e2b0f5c1d06963a19bc107921532cdb2ff /modules/certbot/files | |
parent | b9d8b7e19dbf72a7c358b65d13b918ba7d98a4e8 (diff) | |
download | puppet-tozt-1e021943f489e704625191e6a62c051ea580874c.tar.gz puppet-tozt-1e021943f489e704625191e6a62c051ea580874c.zip |
bootstrap the other domain names i want too
Diffstat (limited to 'modules/certbot/files')
-rwxr-xr-x | modules/certbot/files/bootstrap-certbot | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/modules/certbot/files/bootstrap-certbot b/modules/certbot/files/bootstrap-certbot index 4ca256c..9102960 100755 --- a/modules/certbot/files/bootstrap-certbot +++ b/modules/certbot/files/bootstrap-certbot @@ -34,6 +34,20 @@ http { root /tmp; } } + server { + listen 80; + server_name blog.tozt.net; + location / { + root /tmp; + } + } + server { + listen 80; + server_name paste.tozt.net; + location / { + root /tmp; + } + } } EOF @@ -42,7 +56,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 + /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net -d blog.tozt.net -d paste.tozt.net else - /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d 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 --config-dir "$config_dir" fi |