Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 1.63 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.63 KB

A simple GeoIP API proxy for OS Monitor Build Status

Introduction

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.

How it works?

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.

Is it free ?

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. :)

Donate using PayPal