diff --git a/fly.toml b/fly.toml index e37e84f..b983f81 100644 --- a/fly.toml +++ b/fly.toml @@ -43,9 +43,16 @@ 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 @@ -53,8 +60,7 @@ 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 @@ -62,8 +68,7 @@ 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 @@ -71,5 +76,5 @@ 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" } +