mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
rewrite seafdav destination header
This commit is contained in:
parent
7b86087c84
commit
eab0b8175c
|
@ -10,7 +10,9 @@ http:// https:// {
|
||||||
uri strip_prefix seafhttp
|
uri strip_prefix seafhttp
|
||||||
reverse_proxy seafile-server:8082
|
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 {
|
reverse_proxy /media/* seahub-media:80 {
|
||||||
lb_policy header X-Forwarded-For
|
lb_policy header X-Forwarded-For
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue