diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index 6653f6db..43570d0c 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)(/.+)$;