mirror of
https://github.com/lyz05/danmaku.git
synced 2026-02-02 17:59:53 +08:00
40 lines
770 B
TOML
40 lines
770 B
TOML
# fly.toml app configuration file generated for shy-field-2671 on 2023-05-02T01:26:21Z
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = "shy-field-2671"
|
|
primary_region = "sea"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = "5s"
|
|
|
|
[experimental]
|
|
auto_rollback = true
|
|
|
|
[env]
|
|
PORT = "8080"
|
|
|
|
[[services]]
|
|
protocol = "tcp"
|
|
internal_port = 8080
|
|
processes = ["app"]
|
|
|
|
[[services.ports]]
|
|
port = 80
|
|
handlers = ["http"]
|
|
force_https = true
|
|
|
|
[[services.ports]]
|
|
port = 443
|
|
handlers = ["tls", "http"]
|
|
[services.concurrency]
|
|
type = "connections"
|
|
hard_limit = 25
|
|
soft_limit = 20
|
|
|
|
[[services.tcp_checks]]
|
|
interval = "15s"
|
|
timeout = "2s"
|
|
grace_period = "1s"
|
|
restart_limit = 0
|