Update sites.inc
This commit is contained in:
@@ -585,7 +585,7 @@ SITEINFO(){
|
|||||||
fi
|
fi
|
||||||
#twofacline=$(echo "${autheliaconfig}" | grep -Fn two_factor | sort | tail -n1)
|
#twofacline=$(echo "${autheliaconfig}" | grep -Fn two_factor | sort | tail -n1)
|
||||||
if [ "$(echo "${siteconfig}" | grep include/proxy.conf)" != "" ] || [ "$(echo "${siteconfig}" | grep proxy_pass)" != "" ]; then
|
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
|
if [ "$(echo "${siteconfig}" | grep include/proxy.conf)" != "" ]; then
|
||||||
PROXYHOST=$(echo "${siteconfig}" | grep 'set $server')
|
PROXYHOST=$(echo "${siteconfig}" | grep 'set $server')
|
||||||
PROXYHOST=${PROXYHOST#*\"}; PROXYHOST=${PROXYHOST%\"*}
|
PROXYHOST=${PROXYHOST#*\"}; PROXYHOST=${PROXYHOST%\"*}
|
||||||
@@ -598,7 +598,7 @@ SITEINFO(){
|
|||||||
PROXYHOST_FULL="[ custom proxy_pass ]"
|
PROXYHOST_FULL="[ custom proxy_pass ]"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
type='HTTP'
|
SITE_TYPE='HTTP'
|
||||||
PROXYHOST_FULL=''
|
PROXYHOST_FULL=''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user