Reload nginx after you remove the conf
This commit is contained in:
parent
89fceaba29
commit
89727c32f9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue