mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
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"
|
mkdir -p "$data_path/www"
|
||||||
docker-compose run --rm --entrypoint "certbot certonly --webroot -w /var/www/certbot -d $domain \
|
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
|
$staging_arg $email_arg --rsa-key-size $rsa_key_size --agree-tos --force-renewal" certbot
|
||||||
docker-compose exec nginx nginx -s reload
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
docker-compose exec nginx nginx -s reload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user