From 8845f51930d47d486567a0be27d10f3b5d090a06 Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:37:12 +0800 Subject: [PATCH] [gRPC] Fix Nginx config (#37) --- VLESS-GRPC/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/VLESS-GRPC/README.md b/VLESS-GRPC/README.md index d3d9874..f2266b0 100644 --- a/VLESS-GRPC/README.md +++ b/VLESS-GRPC/README.md @@ -22,8 +22,13 @@ server { return 404; } client_max_body_size 0; - client_body_timeout 1071906480m; - grpc_read_timeout 1071906480m; + keepalive_time 1071906480m; + keepalive_requests 4294967296; + client_body_timeout 1071906480m; + send_timeout 1071906480m; + lingering_close always; + grpc_read_timeout 1071906480m; + grpc_send_timeout 1071906480m; grpc_pass grpc://127.0.0.1:2002; } }