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?
Thanks!
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?
Thanks!
That header is also present with Fly.
Or they have a Fly-Client-IP
. So you could use either.
Thanks!
For future reference, most of the available headers can be seen here: The Fly Runtime Environment · Fly