Support for dynamic ip ranges from urls

- Adds ipranges command to fetch ip ranges from Cloudfront and Cloudflare
- Write the ipranges file on docker start
- Support disabling ipv4 as well as ipv6 now
- Prevent disabling both
This commit is contained in:
Jamie Curnow
2023-05-12 09:40:45 +10:00
parent f43e41d7d0
commit ab772d645b
18 changed files with 265 additions and 60 deletions

View File

@ -88,7 +88,7 @@ services:
# and remove all DB_MYSQL_* lines above
# DB_SQLITE_FILE: "/data/database.sqlite"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
# NPM_DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
@ -124,7 +124,7 @@ The easy fix is to add a Docker environment variable to the Nginx Proxy Manager
```yml
environment:
DISABLE_IPV6: 'true'
NPM_DISABLE_IPV6: 'true'
```

View File

@ -23,7 +23,7 @@ services:
- PUID=1000
- PGID=1000
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
# NPM_DISABLE_IPV6: 'true'
volumes:
- ./data:/data
```