Reload nginx after you remove the conf

This commit is contained in:
Lutchy Horace 2021-03-19 11:35:10 -04:00
parent 89fceaba29
commit 89727c32f9
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ reload_nginx
echo "Retrieving Let's Encrypt Certificate..."
if ! get_cert; then
rm $_vhost_conf_file
reload_nginx
err "Failed to retrieve certificate!"
fi