Skip to content

Commit

Permalink
Improve fly configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Aug 27, 2024
1 parent b1f470c commit e31d026
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,38 @@ grace_period = "5s"
path = "/"
protocol = "http"
timeout = 2000
[services.http_checks.headers]
accept = "text/html"
Fly-Client-IP = "1.1.1.1"
headers = { Fly-Client-IP = "::1.1.1.1", Accept = "text/html" }


[[services.http_checks]]
interval = 10000
grace_period = "5s"
path = "/"
protocol = "http"
timeout = 2000
headers = { 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"
headers = { Fly-Client-IP = "1.1.1.1" }

[[services.http_checks]]
interval = 10000
grace_period = "5s"
path = "/"
protocol = "http"
timeout = 2000
[services.http_checks.headers]
Fly-Client-IP = "::1.1.1.1"
headers = { 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"
headers = { Fly-Client-IP = "::1.1.1.1" }

0 comments on commit e31d026

Please sign in to comment.