Use getServerName() instead of getHeader(Host) for original host resolution

FixAPIService
Shipped
March 29, 2026 at 5:03 AM UTC
Author
Kamo
Commit
17b84fc

ForwardedHeaderFilter consumes X-Forwarded-Host and adapts getServerName() accordingly, while getHeader(Host) returns the raw HTTP Host which may be a K8s internal URL when using internal service routing.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing