Explorar el Código

Fix for Apple autoconfiguration (dav)

andryyy hace 8 años
padre
commit
495bf05fb8
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      data/conf/nginx/site.conf

+ 6 - 0
data/conf/nginx/site.conf

@@ -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;
   }