nginx-proxy-manager/backend/templates
Matthew Kilpatrick 52c32b473d fix: omit "Access rules" directives if no rules configured
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.
2026-05-15 19:03:20 +00:00
..
_access.conf fix: omit "Access rules" directives if no rules configured 2026-05-15 19:03:20 +00:00
_assets.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_certificates_stream.conf Fix whitespace in nginx stream config 2025-02-04 17:14:07 +10:00
_certificates.conf Add SSL certificate to TCP streams if certificate in database 2025-02-04 17:12:04 +10:00
_exploits.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_forced_ssl.conf feat: add trust_forwarded_proto option for SSL redirect handling in reverse proxy scenarios 2026-01-31 13:11:47 +00:00
_header_comment.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_hsts_map.conf only add hsts header with https. 2023-12-02 03:26:34 +01:00
_hsts.conf only add hsts header with https. 2023-12-02 03:26:34 +01:00
_listen.conf http2 directive 2024-10-24 01:30:14 +03:00
_location.conf Cleaning unused variable. 2024-10-28 15:18:54 +03:00
dead_host.conf Add custom configuration to dead_host.conf 2024-12-20 00:59:26 +01:00
default.conf Add support for nginx 444 default response 2023-05-22 11:59:50 +10:00
ip_ranges.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
letsencrypt-request.conf All logs in single folder 2021-06-29 23:07:54 +02:00
proxy_host.conf only add hsts header with https. 2023-12-02 03:26:34 +01:00
redirection_host.conf only add hsts header with https. 2023-12-02 03:26:34 +01:00
stream.conf Added logging for streams based on port 2025-12-30 21:44:29 -08:00