Deploying NextJS to multiple regions using Fly.io

Just did the test with the env var and that seems to be saying its being correct. The IP thing is a bit weird to me, but if the env var is saying its right then that’s more reliable.

Test from Toronto

Test from Philippines

I wouldn’t worry about the IP since you’re using a VPN to test. Fly is correctly routing the user to the closest region. The IP you’re logging is probably the X-Forwarded-For header, which is the original request from the VPN, starting in Chicago.

1 Like

This is very interesting. Thank you! I will look more into this.

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