fork of whitequark.org/git-pages with mods for tangled

Unify Caddy and git-pages health checks.

Changed files
+4 -13
+2 -2
Caddyfile
··· 57 57 reverse_proxy http://{$GIT_PAGES_ADDRESS:localhost}:3000 58 58 } 59 59 60 - http://localhost:2020 { 61 - respond "ok" 60 + http://localhost:2002 { 61 + reverse_proxy http://{$GIT_PAGES_ADDRESS:localhost}:3002 62 62 }
+2 -11
fly.toml
··· 40 40 auto_stop_machines = "stop" 41 41 auto_start_machines = true 42 42 43 - [checks.git-pages] 43 + [checks.health] 44 44 type = "http" 45 45 method = "get" 46 - port = 3002 47 - path = "/" 48 - grace_period = "10s" 49 - interval = "10s" 50 - timeout = "1s" 51 - 52 - [checks.caddy] 53 - type = "http" 54 - method = "get" 55 - port = 2020 46 + port = 2002 56 47 path = "/" 57 48 grace_period = "10s" 58 49 interval = "10s"