mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-09 07:47:54 +02:00
adding comment about client_max_body_size
1 parent
7fb862b04b
commit
7e1ef46c1f
1 file changed
+6
@@ -64,7 +64,10 @@ server {
|
||||
server_name ~^(?:(?<bucket>[^.]+)\.)?s3\.yourdomain\.com;
|
||||
|
||||
ignore_invalid_headers off;
|
||||
|
||||
# Make sure that we can upload files larger than 1MB (nginx default cutoff)
|
||||
client_max_body_size 0;
|
||||
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
@@ -113,7 +116,10 @@ server {
|
||||
server_name yourdomain.com;
|
||||
|
||||
ignore_invalid_headers off;
|
||||
|
||||
# Make sure that we can upload files larger than 1MB (nginx default cutoff)
|
||||
client_max_body_size 0;
|
||||
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in new issue
Block a user