This is a sub-project of OS Monitor to build a proxy server which improves speed and security for GeoIP API query, because every query is a HTTPS request that pass through a server, user's IP and information is hidden, the query result will be cached for 1 week, if anyone query same IP, the result can be reused.
The Architecture
+-------+ +-------+ +-------+
| Nginx | ==> | API | <==> | Redis |
+-------+ +-------+ +-------+
||
+-----------------+
| External GeoAPI |
+-----------------+
- API is written by Go, it gets information from external GeoAPI and push new query result into Redis.
- Nginx is running as an SSL termination and reversed proxy, (Strong Encryption)
- Redis is a database to keep data for 1 week.
Don't worry! I use donation to keep server's running, that costs $5 US per month, SSL certificate and domain cost $10.97 US, the current donation already can support 1 year.
If you would like to support this server, you still can donate. :)