From 1515390f61ee5e379691314546957709ae2a616a Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 2 May 2021 20:47:09 +0300
Subject: [PATCH] Secure proxying of z-push auto-discover.

---
 snippets/activesync.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/snippets/activesync.conf b/snippets/activesync.conf
index c46b913..d38278a 100644
--- a/snippets/activesync.conf
+++ b/snippets/activesync.conf
@@ -1,19 +1,23 @@
 location /AutoDiscover/ {
     proxy_pass          https://zpush.shore.co.il$request_uri;
     include             snippets/proxy-headers.conf;
+    include             snippets/proxy-ssl.conf;
 }
 
 location /Autodiscover/ {
     proxy_pass          https://zpush.shore.co.il$request_uri;
     include             snippets/proxy-headers.conf;
+    include             snippets/proxy-ssl.conf;
 }
 
 location /autodiscover/ {
     proxy_pass          https://zpush.shore.co.il$request_uri;
     include             snippets/proxy-headers.conf;
+    include             snippets/proxy-ssl.conf;
 }
 
 location /Microsoft-Server-ActiveSync {
     proxy_pass          https://zpush.shore.co.il$request_uri;
     include             snippets/proxy-headers.conf;
+    include             snippets/proxy-ssl.conf;
 }
-- 
GitLab