mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
seafile-caddy add proxy for notification path
This commit is contained in:
parent
57b983d3e6
commit
d9925fda7d
|
@ -7,15 +7,21 @@ http:// https:// {
|
||||||
lb_policy header X-Forwarded-For
|
lb_policy header X-Forwarded-For
|
||||||
trusted_proxies private_ranges
|
trusted_proxies private_ranges
|
||||||
}
|
}
|
||||||
|
reverse_proxy /seafdav* seafile-server:8080 {
|
||||||
|
header_up Destination https:// http://
|
||||||
|
trusted_proxies private_ranges
|
||||||
|
}
|
||||||
handle_path /seafhttp* {
|
handle_path /seafhttp* {
|
||||||
uri strip_prefix seafhttp
|
uri strip_prefix seafhttp
|
||||||
reverse_proxy seafile-server:8082 {
|
reverse_proxy seafile-server:8082 {
|
||||||
trusted_proxies private_ranges
|
trusted_proxies private_ranges
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
reverse_proxy /seafdav* seafile-server:8080 {
|
handle_path /notification* {
|
||||||
header_up Destination https:// http://
|
uri strip_prefix notification
|
||||||
trusted_proxies private_ranges
|
reverse_proxy seafile-server:8083 {
|
||||||
|
trusted_proxies private_ranges
|
||||||
|
}
|
||||||
}
|
}
|
||||||
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