mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-06-05 21:02:14 +08:00
When an access list was associated with a template which had users (items) but no rules (clients), a `deny all` directive was inserted to the config. This resulted in all requests, including those with valid credentials, being rejected due to the lack of any `allow` directive. This commit wraps the access rule configuration inside of an if block, so the `deny all;` directive is only present when at least one rule is configured. |
||
|---|---|---|
| .. | ||
| _access.conf | ||
| _assets.conf | ||
| _certificates_stream.conf | ||
| _certificates.conf | ||
| _exploits.conf | ||
| _forced_ssl.conf | ||
| _header_comment.conf | ||
| _hsts_map.conf | ||
| _hsts.conf | ||
| _listen.conf | ||
| _location.conf | ||
| dead_host.conf | ||
| default.conf | ||
| ip_ranges.conf | ||
| letsencrypt-request.conf | ||
| proxy_host.conf | ||
| redirection_host.conf | ||
| stream.conf | ||