Skip to content
Snippets Groups Projects
Commit b256f494 authored by nimrod's avatar nimrod
Browse files

Fix Activesync.

Address the issue after shore.co.il was moved to ns4.
parent 34a6df7f
Branches
No related tags found
No related merge requests found
......@@ -8,12 +8,9 @@ server {
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
include snippets/redirect-www.conf;
location = / { return 301 https://$host/blog/; }
location /repo/ {
root /var/www/www.shore.co.il/;
autoindex on;
}
include snippets/redirect-https.conf;
}
server {
......@@ -25,8 +22,8 @@ server {
include snippets/security-txt.conf;
include snippets/ssl.conf;
include snippets/nextcloud-well-known.conf;
include snippets/z-push.conf;
include snippets/activesync.conf;
include snippets/redirect-www.conf;
location = / { return 301 https://www.shore.co.il/blog/; }
include snippets/redirect-www.conf;
}
location /AutoDiscover/ {
proxy_pass https://$z_push$request_uri;
proxy_pass https://zpush.shore.co.il$request_uri;
include snippets/proxy-headers.conf;
}
location /Autodiscover/ {
proxy_pass https://$z_push$request_uri;
proxy_pass https://zpush.shore.co.il$request_uri;
include snippets/proxy-headers.conf;
}
location /autodiscover/ {
proxy_pass https://$z_push$request_uri;
proxy_pass https://zpush.shore.co.il$request_uri;
include snippets/proxy-headers.conf;
}
location /Microsoft-Server-ActiveSync {
proxy_pass https://$z_push$request_uri;
proxy_pass https://zpush.shore.co.il$request_uri;
include snippets/proxy-headers.conf;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment