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, using Cron to check for IP changes.
- Install Docker and Docker-Compose
- Create a docker-compose.yml file similar to this:
version: '3.8'
services:
app:
image: 'rbullers/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
environment:
DDNS_HOST: example.duckddns.org # DDNS Host or List of DDNS Hosts seperated by whitespace
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;
allow 127.0.0.1;
deny all;
}
Special thanks to all of our contributors.