diff options
-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 |