Update sites.inc
This commit is contained in:
@@ -411,9 +411,9 @@ NEWSITE(){
|
|||||||
|
|
||||||
if [ "${CREATE_SSL}" = "yes" ]; then
|
if [ "${CREATE_SSL}" = "yes" ]; then
|
||||||
[ "${ssladd}" != "" ] && NEWCERT ${NEW_SITE},${ssladd} || NEWCERT ${NEW_SITE}
|
[ "${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
|
sed -i "s/#ssl_certificate/ssl_certificate/g" /etc/nginx/sites-enabled/${MAIN_SITE}.conf
|
||||||
fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f ${FOLDER}/new-site.lastrun
|
rm -f ${FOLDER}/new-site.lastrun
|
||||||
|
|||||||
Reference in New Issue
Block a user