a month ago
When having a custom domain name to my service, i'm getting request_X-Real-Ip as 100.64.0.4 from the request (guessing railways load balancer internal ip), is this intended? tia
8 Replies
for debugging purposes request_Cf-Connecting-Ip provides the correct ip but i don't see any other headers such as X-Real-IP or X-Forwarded-For
a month ago
What does the real IP header show for you here?
request_X-Railway-Edge
railway/europe-west4-drams3a
request_X-Railway-Request-Id
y_QcpjUARQydLY2Jss7a6g
request_X-Real-Ip
100.64.0.4
request_X-Request-Start
1768170104322
time
2026-01-11T22:21:44ZIf you want to check out the trace of what i'm seeing;
cloudflare enabled on domain + proxy
domain set on service (traefik i use for ingress)
traefik service is seing above headers being passed ^
a month ago
You would want traefik to trust the proxy headers
Yes, worked it out now needed ipStratergy of depth to 2 also so it reads second ip address ❤️
a month ago
Awesome
Status changed to Solved brody • about 1 month ago