[SOGo] Disable EAS when SKIP_SOGO=y
This commit is contained in:
parent
ad8acefb96
commit
d931083e0e
5
data/conf/nginx/templates/sogo_eas.template.sh
Normal file
5
data/conf/nginx/templates/sogo_eas.template.sh
Normal file
@ -0,0 +1,5 @@
|
||||
if printf "%s\n" "${SKIP_SOGO}" | grep -E '^([yY][eE][sS]|[yY])+$' >/dev/null; then
|
||||
echo "return 410;"
|
||||
else
|
||||
echo "proxy_pass http://${IPV4_NETWORK}.248:20000/SOGo/Microsoft-Server-ActiveSync;"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user