This is using fastify project, i’m using ::
based on Cannot access web (Fastify) - #2 by greg suggestion
Here my fly.toml
# fly.toml file generated for fragrant-sky-1498 on 2022-07-01T01:11:23+08:00
app = "fragrant-sky-1498"
[env]
LOG_LEVEL = "error"
PORT = 8080
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 50
soft_limit = 25
[[services.http_checks]]
grace_period = "1s"
interval = 5000
method = "get"
path = "/"
protocol = "http"
restart_limit = 5
timeout = 2000
tls_skip_verify = true
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.ports]]
handlers = ["http"]
port = 80
[[services.tcp_checks]]
grace_period = "1s"
interval = 5000
timeout = 2000