The health check now works but I can’t get external traffic. I can’t even ping the app.
Here is my fly.toml:
app = "my_app"
kill_signal = "SIGINT"
kill_timeout = 5
[env]
LOG_LEVEL = "debug"
PORT = "8080"
PRIMARY_REGION = "lhr"
[experimental]
auto_rollback = true
private_network= true
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.http_checks]]
interval = 10000
grace_period = "2s"
method = "get"
path = "/healthz"
protocol = "http"
timeout = 2000
restart_limit = 6
[services.http_checks.headers]
[metrics]
port = 8080
path = "/metrics" # default for most prometheus clients