diff --git a/fly.toml b/fly.toml index 2b416ee..f782d31 100644 --- a/fly.toml +++ b/fly.toml @@ -1,38 +1,35 @@ -# fly.toml file generated for sncf on 2022-09-19T22:02:14+02:00 +# fly.toml app configuration file generated for sncf on 2023-06-03T12:33:48+02:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# app = "sncf" +primary_region = "cdg" kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] - -[env] +kill_timeout = "5s" [experimental] - allowed_public_ports = [] auto_rollback = true [[services]] - http_checks = [] + protocol = "tcp" internal_port = 8080 processes = ["app"] - protocol = "tcp" - script_checks = [] + + [[services.ports]] + port = 80 + handlers = ["http"] + + [[services.ports]] + port = 443 + handlers = ["tls", "http"] [services.concurrency] + type = "connections" hard_limit = 25 soft_limit = 20 - type = "connections" - - [[services.ports]] - force_https = false - handlers = ["http"] - port = 80 - - [[services.ports]] - handlers = ["tls", "http"] - port = 443 [[services.tcp_checks]] - grace_period = "1s" interval = "15s" - restart_limit = 0 timeout = "2s" + grace_period = "1s" + restart_limit = 0