Executing nginx reload only after everything
This commit is contained in:
parent
04786e797e
commit
2c9169d95e
|
@ -67,5 +67,6 @@ for domain in "${domains[@]}"; do
|
|||
mkdir -p "$data_path/www"
|
||||
docker-compose run --rm --entrypoint "certbot certonly --webroot -w /var/www/certbot -d $domain \
|
||||
$staging_arg $email_arg --rsa-key-size $rsa_key_size --agree-tos --force-renewal" certbot
|
||||
docker-compose exec nginx nginx -s reload
|
||||
done
|
||||
|
||||
docker-compose exec nginx nginx -s reload
|
||||
|
|
Loading…
Reference in New Issue