From 465dc9a1eca5aac9e69cfc4a95871a9ef86253fe Mon Sep 17 00:00:00 2001 From: Tyler Menezes Date: Wed, 24 May 2023 10:26:31 -0700 Subject: [PATCH] Update to fly v2 --- fly.toml | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/fly.toml b/fly.toml index 4d5bc22..c46485e 100644 --- a/fly.toml +++ b/fly.toml @@ -1,40 +1,33 @@ -# fly.toml file generated for codeday-clear-www on 2022-03-30T10:06:26-04:00 +# fly.toml file generated for codeday-clear-www on 2023-05-24T10:26:31-07:00 app = "codeday-clear-www" - kill_signal = "SIGINT" kill_timeout = 5 -processes = [] - -[build] +primary_region = "sea" [experimental] - allowed_public_ports = [] auto_rollback = true [[services]] - http_checks = [] + protocol = "tcp" internal_port = 3000 processes = ["app"] - protocol = "tcp" - script_checks = [] - - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" [[services.ports]] - force_https = true - handlers = ["http"] port = 80 + handlers = ["http"] + force_https = true [[services.ports]] - handlers = ["tls", "http"] port = 443 + handlers = ["tls", "http"] + [services.concurrency] + type = "connections" + hard_limit = 25 + soft_limit = 20 [[services.tcp_checks]] - grace_period = "1s" interval = "15s" - restart_limit = 0 timeout = "2s" + grace_period = "1s" + restart_limit = 0