diff --git a/examples/balance.json b/examples/balance.json index 065f5a86..590926d6 100644 --- a/examples/balance.json +++ b/examples/balance.json @@ -21,10 +21,9 @@ "listen": "0.0.0.0:20000", "remote": "127.0.0.1:30000", "extra_remotes": [ - "127.0.0.1:30001", - "127.0.0.1:30002" + "127.0.0.1:30001" ], - "balance": "iphash: 4, 2, 1" + "balance": "iphash: 2, 1" } ] } diff --git a/examples/full.json b/examples/full.json index 441bb2ad..e98a485c 100644 --- a/examples/full.json +++ b/examples/full.json @@ -17,12 +17,15 @@ "network": { "no_tcp": false, "use_udp": true, + "ipv6_only": false, "tcp_timeout": 5, "udp_timeout": 30, "send_proxy": true, "send_proxy_version": 2, "accept_proxy": true, - "accept_proxy_timeout": 5 + "accept_proxy_timeout": 5, + "tcp_keepalive": 15, + "tcp_keepalive_probe": 3 }, "endpoints": [ { diff --git a/examples/full.toml b/examples/full.toml index d173ccef..ce71a876 100644 --- a/examples/full.toml +++ b/examples/full.toml @@ -13,12 +13,15 @@ cache_size = 256 [network] no_tcp = false use_udp = true +ipv6_only = false tcp_timeout = 5 udp_timeout = 30 send_proxy = true send_proxy_version = 2 accept_proxy = true accept_proxy_timeout = 5 +tcp_keepalive = 15 +tcp_keepalive_probe = 3 [[endpoints]] listen = "0.0.0.0:5000"