mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-02 15:51:05 +02:00
web: fix letsencrypt renewal
This commit is contained in:
parent
a1e8bbdead
commit
6234a18dc6
@ -18,7 +18,16 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
|
||||
-d $LETSENCRYPT_DOMAIN \
|
||||
--agree-tos \
|
||||
--email $LETSENCRYPT_EMAIL
|
||||
cp /defaults/letsencrypt-renew /etc/cron.monthly/
|
||||
fi
|
||||
|
||||
# remove default certbot renewal
|
||||
if [[ -f /etc/cron.d/certbot ]]; then
|
||||
rm /etc/cron.d/certbot
|
||||
fi
|
||||
|
||||
# setup certbot renewal script
|
||||
if [[ ! -f /etc/cron.daily/letencrypt-renew ]]; then
|
||||
cp /defaults/letsencrypt-renew /etc/cron.daily/
|
||||
fi
|
||||
else
|
||||
# use self-signed certs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user