#1804

fix: expose API HTTP-01 listener to host edge

Openchbndrhnnswants to merge intofrom

Closes #1803

Summary

  • publish API port 49180 on host loopback
  • allow the host-networked OpenResty edge to reach Certbot running in the API container
  • keep the challenge listener inaccessible from external interfaces

Root cause

The generated edge config proxies HTTP-01 requests to 127.0.0.1:49180. In the self-hosted Compose stack, the edge uses host networking while Certbot can run in the API container namespace, so the edge loopback does not contain the Certbot listener and returns 502.

Verification

git diff --check passed. Full Compose interpolation could not run in this checkout because its required .env file is absent.