1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-10-03 13:24:56 -03:00
parent 2ee7942ac0
commit 94a79bc211
2 changed files with 4 additions and 1 deletions

View file

@ -104,7 +104,7 @@ php ./cli.php
cd /var/www/html/AVideo/
if [ "${SERVER_NAME}" = "localhost" ] || [ "${SERVER_NAME}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]; then
if [[ "${SERVER_NAME}" = "localhost" ]] || [[ "${SERVER_NAME}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Not executing certbot for ${SERVER_NAME}"
else
echo "entrypoint -- Running certbot for ${SERVER_NAME}"