From c05cb1adb688e2f2bb01bd4c703c8c5dcbb8cebd Mon Sep 17 00:00:00 2001 From: xqzr <34030394+xqzr@users.noreply.github.com> Date: Sat, 26 Nov 2022 03:16:19 +0800 Subject: [PATCH] Add `idle_timeout` --- Trojan-gRPC-Caddy2/Nginx/client.json | 1 + 1 file changed, 1 insertion(+) diff --git a/Trojan-gRPC-Caddy2/Nginx/client.json b/Trojan-gRPC-Caddy2/Nginx/client.json index de0fb8d..6b0cfa1 100644 --- a/Trojan-gRPC-Caddy2/Nginx/client.json +++ b/Trojan-gRPC-Caddy2/Nginx/client.json @@ -32,6 +32,7 @@ "security": "tls", "grpcSettings": { "serviceName": "", //填写你的 ServiceName + //"idle_timeout": 60, //当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。 //"initial_windows_size": 65536 //通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。 } }