Carpeta inicial añadida
This commit is contained in:
7
cron/renew_certs.sh
Normal file
7
cron/renew_certs.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /workdir
|
||||
echo "Renewing Let's Encrypt Certificates... (`date`)"
|
||||
docker compose run --rm --no-TTY --entrypoint certbot certbot renew --no-random-sleep-on-renew
|
||||
echo "Reloading Nginx configuration"
|
||||
docker compose exec --no-TTY nginx nginx -s reload
|
||||
Reference in New Issue
Block a user