forked from ekzhang/sshx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
35 lines (29 loc) · 707 Bytes
/
fly.toml
File metadata and controls
35 lines (29 loc) · 707 Bytes
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
app = "sshx"
primary_region = "ewr"
kill_signal = "SIGINT"
kill_timeout = 5
[experimental]
auto_rollback = true
cmd = ["sh", "-c", "./sshx-server --listen :: --host \"$FLY_ALLOC_ID.vm.sshx.internal:8051\""]
[[services]]
protocol = "tcp"
internal_port = 8051
processes = ["app"]
[services.concurrency]
type = "connections"
hard_limit = 65536
soft_limit = 1024
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls"]
[services.ports.tls_options]
alpn = ["h2", "http/1.1"]
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0