1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2025-03-31 11:59:54 -03:00
parent 0487b76654
commit 252e8898fe

View file

@ -106,7 +106,7 @@ cd /var/www/html/AVideo/
if [[ "${SERVER_NAME}" = "localhost" ]] || [[ "${SERVER_NAME}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Not executing certbot for ${SERVER_NAME}"
else
else if [ "_${CREATE_TLS_CERTIFICATE}_" == "_yes_" ]; then
echo "entrypoint -- Running certbot for ${SERVER_NAME}"
certbot --apache --non-interactive --agree-tos --register-unsafely-without-email --redirect --keep-until-expiring -d ${SERVER_NAME}
fi