client_body_buffer_size: 512k

可能解决上行慢的问题
This commit is contained in:
xqzr 2022-03-08 22:44:24 +08:00 committed by GitHub
parent 97af2eb5ef
commit 65adea00ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ server {
return 404; return 404;
} }
client_max_body_size 0; client_max_body_size 0;
client_body_buffer_size 512k;
grpc_set_header X-Real-IP $remote_addr; grpc_set_header X-Real-IP $remote_addr;
client_body_timeout 52w; client_body_timeout 52w;
grpc_read_timeout 52w; grpc_read_timeout 52w;