2021-01-19 16:14:10 +00:00
|
|
|
{
|
|
|
|
auto_https disable_redirects
|
|
|
|
}
|
|
|
|
|
|
|
|
http:// https:// {
|
2021-01-23 12:57:33 +00:00
|
|
|
reverse_proxy seahub:8000 {
|
2021-01-25 14:11:26 +00:00
|
|
|
lb_policy header X-Forwarded-For
|
2021-01-23 12:57:33 +00:00
|
|
|
}
|
2021-01-20 00:10:22 +00:00
|
|
|
handle_path /seafhttp* {
|
|
|
|
uri strip_prefix seafhttp
|
2021-01-21 01:32:29 +00:00
|
|
|
reverse_proxy seafile-server:8082
|
2021-01-20 00:10:22 +00:00
|
|
|
}
|
2021-01-26 16:28:23 +00:00
|
|
|
reverse_proxy /seafdav* seafile-server:8080
|
2021-01-23 12:57:33 +00:00
|
|
|
reverse_proxy /media/* seahub-media:80 {
|
2021-01-25 14:11:26 +00:00
|
|
|
lb_policy header X-Forwarded-For
|
2021-01-23 12:57:33 +00:00
|
|
|
}
|
2021-01-19 16:14:10 +00:00
|
|
|
}
|