Obtain Originating IP address

With Heroku, we can obtain the originating IP address with the X-Forwarded-For header: HTTP Routing | Heroku Dev Center. How do we obtain this within Fly? Is there a similar header?


That header is also present with Fly.

Or they have a Fly-Client-IP. So you could use either.


1 Like

For future reference, most of the available headers can be seen here: The Fly Runtime Environment · Fly