Skip to content

Commit 2943072

Browse files
committed
update fly.toml
1 parent e6e9488 commit 2943072

1 file changed

Lines changed: 19 additions & 8 deletions

File tree

fly.toml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,29 @@ primary_region = 'ams'
88
kill_signal = 'SIGINT'
99
kill_timeout = '5s'
1010

11-
[experimental]
12-
auto_rollback = true
13-
14-
[build]
15-
16-
[http_service]
11+
[[services]]
1712
internal_port = 1234
18-
force_https = true
13+
protocol = "tcp"
1914
auto_stop_machines = 'stop'
2015
auto_start_machines = true
2116
min_machines_running = 0
22-
processes = ['app']
17+
18+
[services.concurrency]
19+
hard_limit = 25
20+
soft_limit = 20
21+
22+
[[services.ports]]
23+
handlers = ["http"]
24+
port = "80"
25+
26+
[[services.ports]]
27+
handlers = ["tls", "http"]
28+
port = "443"
29+
30+
[[services.tcp_checks]]
31+
interval = 10000
32+
timeout = 2000
33+
2334

2435
[[vm]]
2536
size = 'shared-cpu-1x'

0 commit comments

Comments
 (0)