Fix dav url detection for apple

master
andryyy 2017-06-14 23:10:50 +02:00
parent 19325ffb2a
commit e99fa9433e
1 changed files with 6 additions and 8 deletions

View File

@ -37,9 +37,8 @@ server {
real_ip_header X-Forwarded-For;
real_ip_recursive on;
location = /principals/ {
rewrite ^ $client_req_scheme://$http_host/SOGo/dav;
allow all;
location ^~ /principals {
return 301 /SOGo/dav;
}
location ~ \.php$ {
@ -182,9 +181,8 @@ server {
real_ip_header X-Forwarded-For;
real_ip_recursive on;
location = /principals/ {
rewrite ^ $client_req_scheme://$http_host/SOGo/dav;
allow all;
location ^~ /principals {
return 301 /SOGo/dav;
}
location ~ \.php$ {