瀏覽代碼

Fix fix for Apple dav....

andryyy 8 年之前
父節點
當前提交
83cb686e33
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      data/conf/nginx/site.conf

+ 2 - 2
data/conf/nginx/site.conf

@@ -38,7 +38,7 @@ server {
   real_ip_recursive on;
   real_ip_recursive on;
 
 
   rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
   rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
-  rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
+  rewrite ^/.well-known/carddav$ /SOGo/dav/ permanent;
 
 
   location ^~ /principals {
   location ^~ /principals {
 	return 301 /SOGo/dav;
 	return 301 /SOGo/dav;
@@ -185,7 +185,7 @@ server {
   real_ip_recursive on;
   real_ip_recursive on;
 
 
   rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
   rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
-  rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;
+  rewrite ^/.well-known/carddav$ /SOGo/dav/ permanent;
 
 
   location ^~ /principals {
   location ^~ /principals {
     return 301 /SOGo/dav;
     return 301 /SOGo/dav;