-
Notifications
You must be signed in to change notification settings - Fork 2
/
fly.toml
72 lines (59 loc) · 1.33 KB
/
fly.toml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
app = "tinytun"
primary_region = "gru"
kill_signal = "SIGINT"
kill_timeout = "5s"
[env]
PRIMARY_REGION = "gru"
RUST_LOG = "tinytun_server=info"
BASE_DOMAIN = "tinytun.com"
[[services]]
protocol = "tcp"
internal_port = 5554
auto_stop_machines = false
auto_start_machines = false
[[services.ports]]
port = 5554
handlers = ["tls"]
[services.concurrency]
type = "connections"
hard_limit = 20000
soft_limit = 10000
[[services.http_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
[[services]]
protocol = "tcp"
internal_port = 5555
auto_stop_machines = false
auto_start_machines = false
[[services.ports]]
port = 80
[[services.ports]]
port = 443
handlers = ["tls"]
[services.concurrency]
type = "connections"
hard_limit = 20000
soft_limit = 10000
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
[[services]]
protocol = "tcp"
internal_port = 5556
auto_stop_machines = false
auto_start_machines = false
[[services.ports]]
handlers = ["proxy_proto"]
start_port = 20000
end_port = 60000
proxy_proto_options = { version = "v2" }
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0