Update install.sh

This commit is contained in:
Stefan Pejcic
2025-04-07 11:29:29 +02:00
committed by GitHub
parent 611d8b9c57
commit 3515c67dbf

View File

@@ -1304,7 +1304,7 @@ set_email_address_and_email_admin_logins(){
if [ "$SET_HOSTNAME_NOW" = true ]; then
if [[ $new_hostname =~ ^[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ ]]; then
if [ -f "/etc/openpanel/caddy/ssl/acme-v02.api.letsencrypt.org-directory/$new_hostname/$new_hostname.key" ]; then
PROTOCOL="https
PROTOCOL="https"
fi
fi
fi