How many layers of reverse proxy are there when using fly http proxy?

I’m a little confused about what the fly proxy is giving my app for the X-Forwarded-For HTTP header. From what I understand, there should just be a single reverse proxy between my app and my users. However, the X-Forwarded-For header from the fly proxy contains 2 ip addresses. I’m not using Cloudflare or anything. Are there actually 2 layers of reverse proxy?

Related flyio docs: The Fly Runtime Environment · Fly Docs

In Fly that header contains the client IP and the proxy IP so it’s just one proxy.

1 Like

Ah I see. That’s a bit unusual compared to other proxy implementations I’ve seen, (eg. Heroku, Cloudflare). Thanks for clearing it up.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.