Fix the Webdav behavior with Radicale, related to #334
This commit is contained in:
@@ -103,8 +103,13 @@ http {
|
|||||||
auth_request /internal/auth/basic;
|
auth_request /internal/auth/basic;
|
||||||
auth_request_set $user $upstream_http_x_user;
|
auth_request_set $user $upstream_http_x_user;
|
||||||
proxy_set_header X-Remote-User $user;
|
proxy_set_header X-Remote-User $user;
|
||||||
|
proxy_set_header X-Script-Name /webdav;
|
||||||
proxy_pass http://$webdav;
|
proxy_pass http://$webdav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/.well-known/(carddav|caldav) {
|
||||||
|
return 301 /webdav/;
|
||||||
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user