소스 검색

Fix for Apple autoconfiguration (dav)

andryyy 8 년 전
부모
커밋
495bf05fb8
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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;
   }