mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-19 05:31:54 +00:00
Make Caddy startup dependent on git-pages.
Fly.io starts routing requests to the VM the moment it becomes reachable (listens on its service ports) even if it is not ready yet. This causes transient failures on machine startup.
This commit is contained in:
@@ -57,6 +57,7 @@ autorestart = true
|
||||
command = git-pages
|
||||
[program:caddy]
|
||||
command = caddy run
|
||||
depends_on = pages
|
||||
EOF
|
||||
|
||||
# In a standalone configuration (the default) use port 3000 (http) to connect to git-caddy.
|
||||
|
||||
Reference in New Issue
Block a user