Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Azure Traffic Manager #20

Closed
illiterati opened this issue Dec 18, 2019 · 1 comment
Closed

Compatibility with Azure Traffic Manager #20

illiterati opened this issue Dec 18, 2019 · 1 comment

Comments

@illiterati
Copy link

Hi there - I'm trying to get this plugin to work with Azure Traffic Manager, distributed to two servers. It seems to be looking up the IP of the traffic manager server, rather than the end user's IP. Looking at geomate.log, the value I want to test against is being reported at 'HTTP_X_FORWARDED_FOR'. Is this something one could change with a config?

@illiterati
Copy link
Author

I was able to get this to work the way I wanted by setting the real_ip_header to X-Forwarded-For in the Nginx configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant