mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
0487b76654
commit
252e8898fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue