Enable X-Forwarding In Kong Open-Source

Hello, We’d like to pass the source client IP through the request header by using the X-Forwarding mechanism like “proxy_set_header X-Forwarded-For $remote_addr;”, but it neither reflects through the Kong config file nor Kong-NGINX config file, considering we tried al the possible solution proposed through the technical communities with no luck.

The used version was the open-source.

Maybe this blog post can help you.

In my case, Kong hosted as a first layer not behind a load-balancer; So, this solution couldn’t fit our design, no?