mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4855] [Feature]: Reverse Proxy config URI option for each inbound #3386
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#3386
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 @abz-the-jit on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4855
Is your feature request related to a problem?
Yes. I have an XHTTP configuration that is routed through an Nginx reverse proxy. The Nginx proxy uses a different domain and port than the original XHTTP config, and it also handles TLS termination.
As a result, every time I create a new configuration, I have to manually modify all the relevant fields (domain, port, TLS settings) to match the reverse proxy setup.
Describe the solution you'd like
Add a "Reverse Proxy URI" option for each inbound:
For every inbound, add a new tab/section where the user can specify:
Host
Port
Whether TLS is active
This data should only be used for:
Generating the config URLs
Displaying the QR code
info in subscription page
config URLs in telegram too
The actual internal routing and behavior of the inbound should remain unchanged.
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
Frontend (UI / panel pages)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jun 3, 2026):
This is a duplicate of #4329, which you also opened — and the good news is: this feature already exists in the panel.
External Proxy — already in the inbound form
When editing or creating an inbound, look for the External Proxy toggle in the transport/stream settings section. Enabling it lets you add one or more proxy entries, each with:
forceTls)same(inherit),none, orTLSdest)cdn.example.com)443)You can add multiple entries — each one produces a separate share link. The actual Xray server process is unaffected; these overrides only change the generated config URLs, QR codes, subscription output, and Telegram links. This is exactly what you described.
The relevant frontend component is
frontend/src/pages/inbounds/form/transport/external-proxy.tsx, and the backend handling lives insub/subService.go(buildExternalProxyURLLinks/buildVmessExternalProxyLinks).Closing as a duplicate of #4329.