Skip to content

Commit

Permalink
http checks
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Nov 26, 2023
1 parent b0ae873 commit c58cc95
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,27 @@ kill_timeout = "5s"
[[services.ports]]
port = 443
handlers = ["tls", "http"]

[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20

[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
[[services.http_checks]]
interval = 10000
grace_period = "5s"
path = "/"
protocol = "http"
timeout = 2000
[services.http_checks.headers]
accept = "text/html"
Fly-Client-IP = "1.1.1.1"

[[services.http_checks]]
interval = 10000
grace_period = "5s"
path = "/raw"
protocol = "http"
timeout = 2000
[services.http_checks.headers]
Fly-Client-IP = "1.1.1.1"

0 comments on commit c58cc95

Please sign in to comment.