We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30a18f4 + 7e9f565 commit 1507624Copy full SHA for 1507624
1 file changed
fly.toml
@@ -13,14 +13,6 @@ GO_VERSION = '1.22'
13
[env]
14
PORT = '8080'
15
16
-[http_service]
17
-internal_port = 8080
18
-force_https = true
19
-auto_stop_machines = true
20
-auto_start_machines = true
21
-min_machines_running = 0
22
-processes = ['app']
23
-
24
[[vm]]
25
memory = '1gb'
26
cpu_kind = 'shared'
@@ -29,8 +21,15 @@ cpus = 1
29
[[services]]
30
internal_port = 8080
31
protocol = "tcp"
+min_machines_running = 2
+processes = ['app']
32
33
27
[[services.ports]]
34
28
handlers = ["tls"]
35
port = 443
36
tls_options = { "alpn" = ["h2"] }
+
+[services.concurrency]
+type = "connections"
+hard_limit = 1000
+soft_limit = 500
0 commit comments