mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #403] [MERGED] Don't ask for username/password if none are defined #3239
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/403
Author: @Indemnity83
Created: 5/9/2020
Status: ✅ Merged
Merged: 5/27/2020
Merged by: @jc21
Base:
develop← Head:empty-auth📝 Commits (1)
df73c2askip auth check if no users defined📊 Changes
3 files changed (+8 additions, -6 deletions)
View changed files
📝
backend/internal/access-list.js(+3 -3)📝
backend/internal/proxy-host.js(+3 -3)📝
backend/templates/proxy_host.conf(+2 -0)📄 Description
This commit optimizes the Nginx config implementation of an access list, preventing an auth-check if no users are actually defined.
This should still mean that creating an empty access rule results in an inaccessible site because of the default
deny allrule (secure by default). But prevents Nginx from even processing Basic Auth, or asking for a username and password if there are no users to check against.This PR also fixes a bug that was preventing Auth rules from being applied to a site after enabling a previously disabled site.(moved to #407)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.