Fix for Apple autoconfiguration (dav)
parent
e99fa9433e
commit
495bf05fb8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue