[GH-ISSUE #419] When an access list is selected containing only access rules and no authorizations, it should only include the rules in the proxy config and not the authorization #352

Closed
opened 2026-02-26 06:32:31 +03:00 by kerem · 2 comments
Owner

Originally created by @geertmeersman on GitHub (May 22, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/419

Hi,

when creating an access list containing just access rules and no authorization, the proxy host template still included the section

    {% if access_list_id > 0 %}
    # Authorization
    auth_basic            "Authorization required";
    auth_basic_user_file  /data/access/{{ access_list_id }};

I would like to only see the # Access Rules part being populated.

  • What version of Nginx Proxy Manager is reported on the login page? 2.2.4

To Reproduce
Steps to reproduce the behavior:

  1. Go to Access Lists
  2. Click on 'Add Access List'
  3. Provide a name and in the 'Access section' provide some IP addresses to allow
  4. Save
  5. Add the Access list to a proxy host

Expected behavior
The proxy host should not pop up a basic authentication popup in the browser since no names/passwords were provided

Screenshots
Auth Popup

Additional context
I now always delete the lines in the generated proxy host, but it would be perfect if this would be handled in the template.

Originally created by @geertmeersman on GitHub (May 22, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/419 Hi, when creating an access list containing just access rules and no authorization, the proxy host template still included the section ``` {% if access_list_id > 0 %} # Authorization auth_basic "Authorization required"; auth_basic_user_file /data/access/{{ access_list_id }}; ``` I would like to only see the # Access Rules part being populated. - What version of Nginx Proxy Manager is reported on the login page? 2.2.4 **To Reproduce** Steps to reproduce the behavior: 1. Go to Access Lists 2. Click on 'Add Access List' 3. Provide a name and in the 'Access section' provide some IP addresses to allow 4. Save 5. Add the Access list to a proxy host **Expected behavior** The proxy host should not pop up a basic authentication popup in the browser since no names/passwords were provided **Screenshots** ![Auth Popup](https://user-images.githubusercontent.com/1844091/82702574-8fbdb200-9c72-11ea-9a3c-14eb038380d4.png) **Additional context** I now always delete the lines in the generated proxy host, but it would be perfect if this would be handled in the template.
kerem 2026-02-26 06:32:31 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@Nedlinin commented on GitHub (May 26, 2020):

☝️ Definitely would like to see this one fixed.

<!-- gh-comment-id:634201155 --> @Nedlinin commented on GitHub (May 26, 2020): ☝️ Definitely would like to see this one fixed.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 29, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2026458344 --> @github-actions[bot] commented on GitHub (Mar 29, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#352
No description provided.