Skip to content

localghost v3.2.1

Choose a tag to compare

@SmileyChris SmileyChris released this 14 Sep 04:33
· 73 commits to main since this release

Localghost 3.2.1 makes applications see who really connected, instead of a Docker-internal address, and stops a host run's bridge from lying about the request scheme.

Upgrade

uvx --refresh localghost --version

Highlights

  • Requests from this machine arrive as 127.0.0.1. A new localghost-client Traefik middleware renames the Docker gateway address every published-port connection arrived from, instead of leaving applications to see that instead of the real client.
  • Tailnet requests carry the requesting device's own tailnet address, not the gateway container's — the gateway now forwards it on plain HTTP and names it in a PROXY protocol header on the HTTPS passthrough.
  • Host runs report HTTPS correctly. localghost run's bridge no longer overwrites X-Forwarded-Proto/X-Forwarded-For with its own view of the internal hop, fixing frameworks that follow SECURE_PROXY_SSL_HEADER-style advice and saw every HTTPS request as plain HTTP.

The full list is in CHANGELOG.md.