Skip to content

ariadata/dc-nginxproxymanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 : admin@example.com

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/