From 588727d2231119fb07d43493d39b738f7cb11f45 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 14 Nov 2023 18:20:30 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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