This project is a fork of the main Nginx Proxy Manager (v2.10.1) repository that allows using DDNS to build your nginx allow list.
*** NOTE: There is no public Docker Image, you must clone this repo & build the docker image yourself! ***
- Install Docker and Docker-Compose
- Clone this repository
git clone https://github.com/rbullers/nginx-proxy-manager.git
- Edit scripts/nginx-dynamic.sh and add your DDNS Hostname
#define Dynamic DNS addresses here
DDNS[0]=""
DDNS[1]=""
- Build the frontend
./scripts/ci/frontend-build
- Build Docker Image
docker build -f Dockerfile nginx-proxy-manager:local .
- Create a docker-compose.yml file similar to this:
version: '3.8'
services:
app:
image: 'nginx-proxy-manager:local'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
This is the bare minimum configuration required. See the documentation for more.
- Bring up your stack by running
docker-compose up -d
# If using docker-compose-plugin
docker compose up -d
- Log in to the Admin UI & create a Proxy Host; add the below to Custom Nginx Configuration in Advanced
location = / {
include /etc/nginx/conf.d/dynamicips;
deny all;
}
Special thanks to all of our contributors.