Skip to content

fix: expose API HTTP-01 listener to host edge - #1804

Open
chbndrhnns wants to merge 1 commit into
oblien:mainfrom
chbndrhnns:fix/http01-edge-api-port
Open

chbndrhnns wants to merge 1 commit into
oblien:mainfrom
chbndrhnns:fix/http01-edge-api-port

Conversation

@chbndrhnns

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP-01 returns 502 in containerized self-hosted stack

1 participant