From d486a9bb7066ed542f3a76e50f82a6aecf88ebb6 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 27 Dec 2016 20:28:30 +0100 Subject: [PATCH] Fix Dav discovery on iOS, thanks Brad! --- data/conf/nginx/site.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index 6653f6db7..43570d0c4 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -14,6 +14,11 @@ server { access_log /var/log/nginx/access.log; root /web; + location = /principals/ { + rewrite ^ https://$host/SOGo/dav; + allow all; + } + location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$;