Skip to content

Commit beb9049

Browse files
committed
Add http port for web proxy
1 parent 64551ca commit beb9049

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

fly.toml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,27 @@ cpus = 1
2121
[[services]]
2222
internal_port = 8080
2323
protocol = "tcp"
24-
min_machines_running = 2
24+
min_machines_running = 1
2525
processes = ['app']
26-
27-
[[services.ports]]
28-
handlers = ["tls"]
29-
port = 443
30-
tls_options = { "alpn" = ["h2"] }
31-
26+
[[services.ports]]
27+
handlers = ["tls"]
28+
port = 443
29+
tls_options = { "alpn" = ["h2"] }
3230
[services.concurrency]
3331
type = "connections"
3432
hard_limit = 1000
3533
soft_limit = 500
34+
35+
[[services]]
36+
internal_port = 8081
37+
protocol = "tcp"
38+
min_machines_running = 1
39+
processes = ['app']
40+
[[services.ports]]
41+
handlers = ["tls", "http"]
42+
port = 442
43+
44+
[services.concurrency]
45+
type = "connections"
46+
hard_limit = 1000
47+
soft_limit = 500

0 commit comments

Comments
 (0)