mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
caddy add ip hash based lb for frontend
This commit is contained in:
parent
059d7400cd
commit
afe42c53d5
|
@ -3,11 +3,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
http:// https:// {
|
http:// https:// {
|
||||||
reverse_proxy seahub:8000
|
reverse_proxy seahub:8000 {
|
||||||
|
lb_policy ip_hash
|
||||||
|
}
|
||||||
handle_path /seafhttp* {
|
handle_path /seafhttp* {
|
||||||
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
|
||||||
reverse_proxy /media/* seahub-media:80
|
reverse_proxy /media/* seahub-media:80 {
|
||||||
|
lb_policy ip_hash
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue