Update sites.inc
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user