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..."
|
echo "Retrieving Let's Encrypt Certificate..."
|
||||||
if ! get_cert; then
|
if ! get_cert; then
|
||||||
rm $_vhost_conf_file
|
rm $_vhost_conf_file
|
||||||
|
reload_nginx
|
||||||
err "Failed to retrieve certificate!"
|
err "Failed to retrieve certificate!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue