mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4289] Add support for nginx basic_auth for Nodes #2926
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2926
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?
Originally created by @chmod755666 on GitHub (May 12, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4289
Describe the bug
I have placed all my 3x-ui panel instances behind an Nginx reverse proxy with basic_auth enabled. When I try to add these secondary 3x-ui instances as "Nodes" to my primary 3x-ui panel, the connection fails with an HTTP 401 Unauthorized error. This happens because the current "Add Node" interface does not support passing HTTP Basic Authentication credentials to access the remote 3x-ui instance.
How to repeat the problem?
1.Set up at least two separate instances of the 3x-ui panel and place them behind Nginx with basic_auth.
2.Go to the primary 3x-ui panel and try to add the second 3x-ui instance as a "Node".
3. Observe the HTTP 401 error because the primary panel's script cannot authorize through the remote Nginx basic_auth prompt.
Expected action
There should be "extra" fields or options in the "Add Node" menu where we can input HTTP Basic Auth credentials (username and password) so the primary panel can successfully authenticate with the remote 3x-ui node.
Received action
The connection is rejected with an HTTP 401 Error, making it impossible to add the node.
3x-ui Version
3.0.1
Xray-core Version
26.5.9
Checklist
@chmod755666 commented on GitHub (Jun 4, 2026):
wtf
@chmod755666 commented on GitHub (Jun 4, 2026):
3.2.7 still no support