Node X-Forwarded-Host
vladavip88
HOBBY
8 months ago
Hello everyone,
I have a client app, on subdomain client.example.com
and api.example.com
. Client app is written in react and api in node using express.
When I make request from client to api, I have issue with X-Forwarded-Host
header, it points to api itself, instead to client host, while X-Forwarded-For
is correct and points to client IP address.
I guess there this is because of some loadbalancer things, but I don't know how to solve it.
Thanks in advance.
0 Replies