diff options
Diffstat (limited to 'modules/certbot')
-rwxr-xr-x | modules/certbot/files/bootstrap-certbot | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/certbot/files/bootstrap-certbot b/modules/certbot/files/bootstrap-certbot index cb496f8..b5b634d 100755 --- a/modules/certbot/files/bootstrap-certbot +++ b/modules/certbot/files/bootstrap-certbot @@ -2,8 +2,6 @@ set -eu set -o pipefail -# XXX update to real domain name - config_dir="$1" if systemctl is-active -q nginx; then is_running=1 @@ -44,7 +42,7 @@ if [ -z "$is_running" ]; then fi if [ -z "$config_dir" ]; then - /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d new.tozt.net + /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net else - /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d new.tozt.net --config-dir "$config_dir" + /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net --config-dir "$config_dir" fi |