Update a Caddy mask and directory
The complete Caddyfile is a protected namespace document selected by the host's caddy_mask_proxy.config_ref. The landing page is rendered during the Caddy deployment action from that document and the namespace's declared services and extra links.
- Locate the owner host and selected Caddy document in the authoritative assets. Confirm that the Caddy proxy is enabled on that host.
- Edit the protected document with
./enclavr priv edit --namespace <namespace> --component caddy-mask, using the repository's attended writer workflow. Preserve existing global options, access policy, TLS settings, and routes. - Add or change the HTTPS site block. Browser-facing site addresses in the Caddyfile are collected into the namespace directory at the next Caddy deployment.
wwwaliases share their primary site's card. Useweb_directory.linksfor interfaces that have no Caddy site block. - Review and push the complete document with the normal
enclavr priv pushworkflow. Check its value-free plan before confirming a write. - Deploy on the Caddy owner host:
./enclavr host deploy --only caddy-mask-proxy.deploy --yes. - Verify Caddy configuration, container health, DNS, TLS, the directory page, and the destination from an appropriate client. The directory status dot means configured; it is not a live reachability test.
For the public docs.enclavr.io route, point the protected Caddy site block at docs:8080 on the Caddy mask Compose network. Do not import the private directory access policy for that public block.