diff --git a/data/conf/nginx/templates/sogo_eas.template.sh b/data/conf/nginx/templates/sogo_eas.template.sh new file mode 100644 index 000000000..b241ef0e7 --- /dev/null +++ b/data/conf/nginx/templates/sogo_eas.template.sh @@ -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