feat(web): placeholder site for the apex and www, owned by infra #49
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/feat/placeholder-site"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The apex (jfraeys.com, www) must be served from infra for now, and later by a dedicated
jfraeys_comproject, not by the coaching site.New generic role
roles/placeholder_site: static "coming soon" page + nginx vhost for the apex and www. The file is00-placeholder.confso nginx (alphabetical include) takes it before the coaching-site vhost for the same server names; the later duplicates log "conflicting server name ... ignored", which is expected. Reuses the existing apex Let's Encrypt cert (skips itself if absent).nginx -truns before reload; on failure the vhost is disabled again. Wired intoplaybooks/web.ymlunder tagplaceholder_site.Verified: syntax-check and ansible-lint pass; a check-mode
--diffrun against the production web host shows only the expected creates (web root, page, vhost, link) and a guarded reload.Not verified: the live result. Deploy with
scripts/with-vault.sh ansible-playbook -i inventory/hosts.yml playbooks/web.yml --tags placeholder_site --limit web_hosts, then confirm jfraeys.com/www return the placeholder. Rollback: remove /etc/nginx/sites-enabled/00-placeholder.conf and reload.Follow-ups not in this PR: the coaching site should leave the apex (its coaching_site_domain), and its cert dependency plus
mail.jfraeys.com(origin cert lacks it, Cloudflare 526) need a decision.🤖 Generated with Claude Code