AnonymousTRIAL
a year ago
I have deployed my app using docker on Railway, my app takes the external ip address from the requests it gets and needs to save them to a database. However when saving the address it's a private IP address and that's not what i want
0 Replies
a year ago
nope
a year ago
not for long
a year ago
please see the "request headers" section of this docs page
Status changed to Solved railway[bot] • about 1 year ago
a year ago
read the right most value
a year ago
railway is not going to be using envoy forever
ok, true, but there was a problem with clients being able to just set arbitrary value to X-Forwarded-For
a year ago
^
a year ago
^
a year ago
read the right most value from that header and you will get the remote ip
a year ago
no problem