-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as not planned
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes - I think so - shows 2.9.9 in the GUI and it was created 2 weeks ago vs online latest 20 days
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
Access List not re-applied to proxy host on re-enablement
Nginx Proxy Manager Version
2.9.9
To Reproduce
Steps to reproduce the behavior:
- Create an access list.
- Create a proxy host and apply access list. Ensure it is enabled.
- Check config in /data/nginx/proxy_host ... Access list expanded correctly.
- Disable and reenable and check again.
- Config now has deny all only!!
- Change Access list for proxy and change it back all OK again!
Expected behavior
I would expect that re-enabling the proxy host would bring it back with the Access List as shown in the GUI
Screenshots
Before Disabled
server {
set $forward_scheme http;
set $server "IPADDRESS";
set $port 80;
listen 80;
#listen [::]:80;
listen 443 ssl http2;
#listen [::]:443;
server_name SERVERURL;
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-17/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-17/privkey.pem;
access_log /data/logs/proxy-host-16_access.log proxy;
error_log /data/logs/proxy-host-16_error.log warn;
location / {
# Access Rules
allow 192.168.0.0/16;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
deny all;
# Access checks must...
satisfy all;
# Proxy!
include conf.d/include/proxy.conf;
}
# Custom
include /data/nginx/custom/server_proxy[.]conf;
}
Disabled File no longer exists
Re-Enabled
server {
set $forward_scheme http;
set $server "IPADDRESS";
set $port 80;
listen 80;
#listen [::]:80;
listen 443 ssl http2;
#listen [::]:443;
server_name SERVERURL;
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-17/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-17/privkey.pem;
access_log /data/logs/proxy-host-16_access.log proxy;
error_log /data/logs/proxy-host-16_error.log warn;
location / {
# Access Rules
deny all;
# Access checks must...
satisfy all;
# Proxy!
include conf.d/include/proxy.conf;
}
# Custom
include /data/nginx/custom/server_proxy[.]conf;
}
Operating System
Raspberry Pi 4 using Portainer to deploy NPM
Additional context