summary refs log tree commit diff stats
path: root/fly.toml
blob: 4b06784ec7b08b9616c8ab488305505bcc7e2a0f (plain)
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
app = "alanpearce-eu"
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "ams"

[metrics]
  port = 9091
  path = "/metrics"

[env]
  CADDY_CLUSTERING_REDIS_HOST = "fly-caddy-storage.upstash.io"
  SITE_ROOT = "/srv"

[[services]]
  internal_port = 80
  protocol = "tcp"
  [services.concurrency]
    type = "connections"
    hard_limit = 200
    soft_limit = 100
  [[services.ports]]
    handlers = ["http"]
    port = 80
  [[services.ports]]
    handlers = ["tls"]
    port = "443"
    tls_options = { "alpn" = ["h2"] }
  [[services.http_checks]]
    interval = 10000
    grace_period = "5s"
    method = "head"
    path = "/"
    protocol = "http"
    restart_limit = 0
    timeout = 2000
    tls_skip_verify = false
    [services.http_checks.headers]
    Host = "alanpearce.eu"