[gRPC] Fix Nginx config (#37)

This commit is contained in:
xqzr 2021-06-29 15:37:12 +08:00 committed by GitHub
parent e6a084fa60
commit 8845f51930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,13 @@ server {
return 404; return 404;
} }
client_max_body_size 0; client_max_body_size 0;
keepalive_time 1071906480m;
keepalive_requests 4294967296;
client_body_timeout 1071906480m; client_body_timeout 1071906480m;
send_timeout 1071906480m;
lingering_close always;
grpc_read_timeout 1071906480m; grpc_read_timeout 1071906480m;
grpc_send_timeout 1071906480m;
grpc_pass grpc://127.0.0.1:2002; grpc_pass grpc://127.0.0.1:2002;
} }
} }