diff --git a/inc/sites.inc b/inc/sites.inc index a9c9df60..c588a342 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -585,7 +585,7 @@ SITEINFO(){ fi #twofacline=$(echo "${autheliaconfig}" | grep -Fn two_factor | sort | tail -n1) if [ "$(echo "${siteconfig}" | grep include/proxy.conf)" != "" ] || [ "$(echo "${siteconfig}" | grep proxy_pass)" != "" ]; then - type='Proxy' + SITE_TYPE='Proxy' if [ "$(echo "${siteconfig}" | grep include/proxy.conf)" != "" ]; then PROXYHOST=$(echo "${siteconfig}" | grep 'set $server') PROXYHOST=${PROXYHOST#*\"}; PROXYHOST=${PROXYHOST%\"*} @@ -598,7 +598,7 @@ SITEINFO(){ PROXYHOST_FULL="[ custom proxy_pass ]" fi else - type='HTTP' + SITE_TYPE='HTTP' PROXYHOST_FULL='' fi