-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathconfig.example.json
More file actions
45 lines (45 loc) · 1.33 KB
/
Copy pathconfig.example.json
File metadata and controls
45 lines (45 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"public_hostname": "proxy.example.com",
"base_path": "",
"listen": "127.0.0.1:8080",
"admin_listen": "127.0.0.1:8081",
"public_upstream": "http://127.0.0.1:3000",
"token_key_file": "/etc/tproxy-server/token.key",
"static_routes": "exact",
"profiles_file": "/run/credentials/tproxy-server.service/profiles.json",
"enable_pprof": false,
"limits": {
"max_header_bytes": 16384,
"max_body_bytes": 2097152,
"max_frame_payload": 1048576,
"carrier_batch_bytes": 2097152,
"max_streams_per_session": 128,
"max_closed_stream_ids": 4096,
"max_pending_per_session": 33554432,
"max_pending_global": 536870912,
"max_pending_items_per_session": 16384,
"max_pending_items_global": 262144,
"max_sessions_per_ip": 0,
"max_sessions_global": 128,
"max_streams_global": 4096,
"max_backend_dials_in_flight": 256,
"new_sessions_per_minute": 600,
"new_sessions_burst": 128,
"new_streams_per_minute": 6000,
"new_streams_burst": 512,
"max_bootstraps_per_ip": 0,
"max_bootstraps_global": 512,
"new_bootstraps_per_minute": 1200,
"new_bootstraps_burst": 256,
"max_profiles": 32
},
"timeouts": {
"backend_dial": "5s",
"long_poll": "25s",
"reconnect_grace": "2m",
"bootstrap_lifetime": "2m",
"read_header": "10s",
"idle": "75s",
"shutdown": "15s"
}
}