diff --git a/S3-Nginx-Proxy.md b/S3-Nginx-Proxy.md index 24c44e6..088af2a 100644 --- a/S3-Nginx-Proxy.md +++ b/S3-Nginx-Proxy.md @@ -10,7 +10,11 @@ Additionally, make sure that `proxy_request_buffering` is `off` (default is `on` ### Example Nginx config ``` -upstream seaweedfs { server localhost:8333 fail_timeout=0; keepalive 20;} +upstream seaweedfs { + hash $arg_uploadId consistent; + server localhost:8333 fail_timeout=0; + keepalive 20; +} ## Also you can use unix domain socket instead for better performance: # upstream seaweedfs { server unix:/tmp/seaweedfs-s3-8333.sock; keepalive 20;}