fix multidomain LE

This commit is contained in:
Matthew Hodgson
2024-11-08 18:45:09 +00:00
parent fe2192166e
commit a5b143c50e
4 changed files with 8 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ services:
- ${VOLUME_PATH}/data/ssl:/data/ssl
entrypoint: "/bin/sh -c 'trap exit TERM; \
while [ -e /etc/letsencrypt/live ]; \
do certbot --webroot -w /var/www/certbot renew; \
do sleep 30; certbot --webroot -w /var/www/certbot renew; \
cp /etc/letsencrypt/live/$DOMAIN/*.pem /data/ssl; \
sleep 12h & wait $${!}; \
done;'"