|
@@ -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)(/.+)$;
|