2021-01-19 16:14:10 +00:00
|
|
|
{
|
2022-11-29 15:27:11 +00:00
|
|
|
auto_https disable_redirects
|
2021-01-19 16:14:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
http:// https:// {
|
2022-11-29 15:27:11 +00:00
|
|
|
reverse_proxy seahub:8000 {
|
|
|
|
lb_policy header X-Forwarded-For
|
|
|
|
trusted_proxies private_ranges
|
|
|
|
}
|
2023-06-17 08:37:09 +00:00
|
|
|
reverse_proxy /seafdav* seafile-server:8080 {
|
|
|
|
header_up Destination https:// http://
|
|
|
|
trusted_proxies private_ranges
|
|
|
|
}
|
2022-11-29 15:27:11 +00:00
|
|
|
handle_path /seafhttp* {
|
|
|
|
uri strip_prefix seafhttp
|
|
|
|
reverse_proxy seafile-server:8082 {
|
|
|
|
trusted_proxies private_ranges
|
|
|
|
}
|
|
|
|
}
|
2023-06-17 08:37:09 +00:00
|
|
|
handle_path /notification* {
|
|
|
|
uri strip_prefix notification
|
|
|
|
reverse_proxy seafile-server:8083 {
|
|
|
|
trusted_proxies private_ranges
|
|
|
|
}
|
2022-11-29 15:27:11 +00:00
|
|
|
}
|
|
|
|
reverse_proxy /media/* seahub-media:80 {
|
|
|
|
lb_policy header X-Forwarded-For
|
|
|
|
trusted_proxies private_ranges
|
2022-11-29 15:04:11 +00:00
|
|
|
}
|
2021-01-19 16:14:10 +00:00
|
|
|
}
|