mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-19 12:34:29 +02:00
The hash on uploadId query string in the GET request create consistency for multipart uploads. This will cause errors otherwise when using multiple filers for a single object with upload parts.
1 parent
8d3f343ba2
commit
13c7c4339c
1 file changed
+5
-1
+5
-1
@@ -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;}
|
||||
|
||||
Reference in new issue
Block a user