Skip to main content
← Back to list
01Issue
FeatureShippedSwamp Club
Assigneesstack72

Relationships

#997 Docs: document --trusted-hosts flag for swamp serve

Opened by stack72 · 7/6/2026· Shipped 7/6/2026

What changed

swamp-club/swamp#1777 adds a --trusted-hosts flag (and SWAMP_TRUSTED_HOSTS env var) to swamp serve. This lets operators whitelist additional hostnames for Host header validation when binding off-loopback, enabling Docker/Kubernetes workers to connect via platform-specific hostnames like host.docker.internal.

What needs updating

  • content/manual/reference/swamp-serve.md — add --trusted-hosts to the flags reference table and document SWAMP_TRUSTED_HOSTS env var
  • Consider adding a Docker/Kubernetes deployment example to content/manual/reference/swamp-serve/ or content/manual/how-to/

Usage example

swamp serve --host 0.0.0.0 \
  --trusted-hosts host.docker.internal,host.minikube.internal \
  --cert-file server.crt --key-file server.key --auth-mode token
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

7/6/2026, 10:31:17 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/6/2026, 10:16:20 PM

Sign in to post a ripple.