diff --git a/seafile-caddy/Caddyfile b/seafile-caddy/Caddyfile index 878a588..c2fac38 100644 --- a/seafile-caddy/Caddyfile +++ b/seafile-caddy/Caddyfile @@ -4,7 +4,7 @@ http:// https:// { reverse_proxy seahub:8000 { - lb_policy ip_hash + lb_policy header X-Forwarded-For } handle_path /seafhttp* { uri strip_prefix seafhttp @@ -12,6 +12,6 @@ http:// https:// { } reverse_proxy /seafdav/* seafile-server:8080 reverse_proxy /media/* seahub-media:80 { - lb_policy ip_hash + lb_policy header X-Forwarded-For } } \ No newline at end of file