diff --git a/fly.toml b/fly.toml index 6afba395d1..48990ee300 100644 --- a/fly.toml +++ b/fly.toml @@ -1,36 +1,15 @@ app = "rsshub" -kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] -[env] - -[experimental] -auto_rollback = true - -[[services]] -http_checks = [] +[http_service] internal_port = 1200 -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 +auto_stop_machines = "suspend" +auto_start_machines = true +min_machines_running = 1 -[[services.ports]] -handlers = ["tls", "http"] -port = 443 - -[[services.tcp_checks]] -grace_period = "1s" -interval = "15s" -restart_limit = 0 -timeout = "2s" +[[http_service.checks]] +grace_period = "10s" +interval = "30s" +method = "GET" +timeout = "5s" +path = "/healthz"