Fix for Apple autoconfiguration (dav)

master
andryyy 2017-06-14 23:14:41 +02:00
parent e99fa9433e
commit 495bf05fb8
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,9 @@ server {
real_ip_header X-Forwarded-For; real_ip_header X-Forwarded-For;
real_ip_recursive on; real_ip_recursive on;
rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
location ^~ /principals { location ^~ /principals {
return 301 /SOGo/dav; return 301 /SOGo/dav;
} }
@ -181,6 +184,9 @@ server {
real_ip_header X-Forwarded-For; real_ip_header X-Forwarded-For;
real_ip_recursive on; real_ip_recursive on;
rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
location ^~ /principals { location ^~ /principals {
return 301 /SOGo/dav; return 301 /SOGo/dav;
} }