mailcow/data/conf/nginx/templates/sogo_eas.template.sh

6 lines
200 B
Bash
Raw Normal View History

2020-07-14 19:16:26 +08:00
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