certbot: Use --standalone mode during installer.

This should help avoid problems, since we don't need to install
`nginx` before using this mode.
This commit is contained in:
Tim Abbott 2017-11-03 15:02:31 -07:00
parent 62bb465896
commit 38dc43fdf8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ fi
wget https://dl.eff.org/certbot-auto -O /root/certbot-auto wget https://dl.eff.org/certbot-auto -O /root/certbot-auto
chmod a+x /root/certbot-auto chmod a+x /root/certbot-auto
/root/certbot-auto --nginx certonly -d "$DOMAIN" -m "$EMAIL" --agree-tos --non-interactive /root/certbot-auto --standalone certonly -d "$DOMAIN" -m "$EMAIL" --agree-tos --non-interactive
# Link the generated cert to the path read by Zulip # Link the generated cert to the path read by Zulip
ln -nsf /etc/letsencrypt/live/"$DOMAIN"/privkey.pem /etc/ssl/private/zulip.key ln -nsf /etc/letsencrypt/live/"$DOMAIN"/privkey.pem /etc/ssl/private/zulip.key