Fix dav url detection for apple
parent
19325ffb2a
commit
e99fa9433e
|
@ -37,9 +37,8 @@ server {
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
real_ip_recursive on;
|
real_ip_recursive on;
|
||||||
|
|
||||||
location = /principals/ {
|
location ^~ /principals {
|
||||||
rewrite ^ $client_req_scheme://$http_host/SOGo/dav;
|
return 301 /SOGo/dav;
|
||||||
allow all;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
@ -182,9 +181,8 @@ server {
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
real_ip_recursive on;
|
real_ip_recursive on;
|
||||||
|
|
||||||
location = /principals/ {
|
location ^~ /principals {
|
||||||
rewrite ^ $client_req_scheme://$http_host/SOGo/dav;
|
return 301 /SOGo/dav;
|
||||||
allow all;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
Loading…
Reference in New Issue