-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Background:
#1196
https://community.forestadmin.com/t/access-to-request-headers-in-context/7539
On our deployment, I see this value often being something like "::ffff:10.1.12.32". This seems to be quite obviously an internal IP address from our internal proxies / load balancer.
I did some research in the code and found this comes from Koa framework. From Koa's doc:
request.ip
Request remote address. Supports X-Forwarded-For when app.proxy is true.
Would it be possible to configure or set by default app.proxy=true so we can use the caller.ip as intended?
Metadata
Metadata
Assignees
Labels
No labels