mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
2ee7942ac0
commit
94a79bc211
2 changed files with 4 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue