KamoCRM

Set Host/X-Forwarded-Host so APIService resolves correct org

Fixkamo-login
Shipped
18 ஏப்ரல், 2026 அன்று 7:41 PM UTC
Author
Kamo
Commit
f2e9240

APIService overwrites X-Forwarded-Host with request.getServerName(), which reads from the Host header. Without an explicit Host header the K8s internal service hostname was forwarded to SecurityService, causing org lookup to return nothing. Mirror the login proxy pattern: replace login. prefix with api. on both headers.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing