Update sites.inc

This commit is contained in:
2023-05-13 22:37:18 -05:00
parent 4506342894
commit 61b7e49b81

View File

@@ -411,9 +411,9 @@ NEWSITE(){
if [ "${CREATE_SSL}" = "yes" ]; then
[ "${ssladd}" != "" ] && NEWCERT ${NEW_SITE},${ssladd} || NEWCERT ${NEW_SITE}
if [ "${SITE_TYPE}" == "proxy" ]; then
# if [ "${SITE_TYPE}" == "proxy" ]; then
sed -i "s/#ssl_certificate/ssl_certificate/g" /etc/nginx/sites-enabled/${MAIN_SITE}.conf
fi
# fi
fi
rm -f ${FOLDER}/new-site.lastrun