Fix for Apple autoconfiguration (dav)

This commit is contained in:
andryyy 2017-06-14 23:14:41 +02:00
parent e99fa9433e
commit 495bf05fb8

View File

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