Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.54 KB

README.md

File metadata and controls

55 lines (44 loc) · 1.54 KB

docker-compose for nginx-proxy-manager + GeoIP2

Build Status

This needs : dockerhost


1- Create nginx-proxy-manager bridge network :

docker network create nginx-proxy-manager

2- Clone this repo and pull it's docker images:

git clone https://github.com/ariadata/dc-nginxproxymanager.git nginx-proxy-manager && cd nginx-proxy-manager && rm -rf .git && docker-compose pull

3- Run docker-compose file by using :

docker-compose up -d

4- Goto :

http://YOUR-IP:8181

Use these credentials to first login and change it after logged in :

User : [email protected]

Pass : changeme

Done!

Other Useful Tips! :

for being behind another nginx, use these in parent nginx config

proxy_ssl_name $host;
proxy_ssl_server_name on;

Added Headers for GeoIP2 20240426:

HTTP_GEOIP2_COUNTRY_CODE
HTTP_GEOIP2_COUNTRY_NAME
HTTP_GEOIP2_CITY_NAME

# Links:
https://download.maxmind.com/app/geoip_download

https://github.com/PrxyHunter/GeoLite2/releases/latest

https://cdn.jsdelivr.net/npm/geolite2-country/
https://cdn.jsdelivr.net/npm/geolite2-city/
https://cdn.jsdelivr.net/npm/geolite2-asn/