The deploy WARNING ("app is not listening on the expected address") was
caused by a race: start.sh ran Tailscale setup (~5-10s) before starting
nginx, so Fly's post-start socket check found nothing on port 8080.
Fix by starting nginx first and deferring upstream DNS resolution to
request time via resolver + variable in proxy_pass. DNS results are
cached for 30s per worker to avoid per-request lookups.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| feature-blumeops-tasks-due-date-filter.feature.md | ||
| fix-fly-deploy-warnings.bugfix.md | ||
| op-read-migration.infra.md | ||
| restrict-flyio-proxy-acl.infra.md | ||