Configuration File Reference
./maxmind-api-proxy /etc/maxmind-api-proxy/config.jsonFull example
{
"api_key": "YOUR_PROXY_SERVICE_API_KEY",
"cache_errors": false,
"http_listen": ":8443",
"http_tls": true,
"http_cert": "/etc/letsencrypt/live/yoursite.example.com/fullchain.pem",
"http_key": "/etc/letsencrypt/live/yoursite.example.com/privkey.pem",
"http_mode": "release",
"maxmind_username": "123456",
"maxmind_password": "your_maxmind_license_key",
"maxmind_url": "https://geoip.maxmind.com/geoip/v2.1/city/",
"redis_host": "127.0.0.1",
"redis_port": 6379,
"redis_password": "your_redis_password",
"redis_database": "0",
"redis_cache_time": 24
}Field reference
Proxy authentication
Field
Type
Required
Description
HTTP server
Field
Type
Required
Description
MaxMind upstream
Field
Type
Required
Description
Available MaxMind endpoints
Database
URL
Redis cache
Field
Type
Required
Description
Notes
Last updated