Fix Dav discovery on iOS, thanks Brad!

master
andryyy 2016-12-27 20:28:30 +01:00
parent f7b95ae5a0
commit d486a9bb70
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ server {
access_log /var/log/nginx/access.log; access_log /var/log/nginx/access.log;
root /web; root /web;
location = /principals/ {
rewrite ^ https://$host/SOGo/dav;
allow all;
}
location ~ \.php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;