forked from stackus/todos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.prod.toml
40 lines (33 loc) · 787 Bytes
/
fly.prod.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
app = "golang-htmx"
primary_region = "dfw"
[build]
[http_service]
internal_port = 8080
force_https = false
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[http_service.concurrency]
type = "requests"
soft_limit = 100
hard_limit = 500
# @see https://community.fly.io/t/cloudflare-525-error-randomly-occurs/1798/44
[[services.ports]]
force_https = false
handlers = ["http"]
port = 80
[[services.ports]]
force_https = false
handlers = ["tls", "http"]
port = 443
[[services.http_checks]]
interval = 60000
grace_period = "5s"
method = "get"
path = "/"
protocol = "http"
timeout = 2000
tls_skip_verify = false
[services.http_checks.headers]