diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index cda034108..05a103ca3 100644 --- a/data/conf/nginx/site.conf +++ b/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; }