From eab0b8175c1621ca374a708f73d5e300d0db0a2d Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Wed, 19 May 2021 00:25:56 +0200 Subject: [PATCH] rewrite seafdav destination header --- seafile-caddy/Caddyfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/seafile-caddy/Caddyfile b/seafile-caddy/Caddyfile index 2316b21..115322b 100644 --- a/seafile-caddy/Caddyfile +++ b/seafile-caddy/Caddyfile @@ -10,7 +10,9 @@ http:// https:// { uri strip_prefix seafhttp reverse_proxy seafile-server:8082 } - reverse_proxy /seafdav* seafile-server:8080 + reverse_proxy /seafdav* seafile-server:8080 { + header_up Destination https:// http:// + } reverse_proxy /media/* seahub-media:80 { lb_policy header X-Forwarded-For }