reload first
This commit is contained in:
parent
19cce31a09
commit
ddd5e97b8f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ CERTS="/etc/nginx/certs"
|
||||||
|
|
||||||
|
|
||||||
updatessl() {
|
updatessl() {
|
||||||
|
service nginx configtest && service nginx force-reload
|
||||||
if grep ACME_DOMAINS $DEFAULT_CONF ; then
|
if grep ACME_DOMAINS $DEFAULT_CONF ; then
|
||||||
for d_list in $(grep ACME_DOMAINS $DEFAULT_CONF | cut -d ' ' -f 2);
|
for d_list in $(grep ACME_DOMAINS $DEFAULT_CONF | cut -d ' ' -f 2);
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue