maxmind / GeoIP2-php

PHP API for GeoIP2 webservice client and database reader
https://maxmind.github.io/GeoIP2-php/
Apache License 2.0
2.34k stars 279 forks source link

Web service behind proxy #59

Closed paulomanrique closed 8 years ago

paulomanrique commented 9 years ago

Is there a way to make the script connect to Maxmind service through a proxy? My webserver can't make direct connections.

oschwald commented 9 years ago

This is currently not possible. We use curl internally, but the proxy settings are not exposed.

oschwald commented 9 years ago

However, you might be able to set it globally within your script using the https_proxy environment variable.