mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #2450] nginx reverse #1683
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#1683
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 @okaya0x on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2450
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):
Additional context
Add any other context about the problem here.
nginx.conf
location ^~ /demo {
if ($scheme = http) {
return 301 https://$host$request_uri;
}
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:1234/demo;
When I just click the restart panel button, the nginx reverse proxy port will jump from 443 to 1234. Clicking other buttons on the browser is normal.
@cqdjbb commented on GitHub (Aug 8, 2024):
It seems that this problem exists in all versions after 2.3.8. I thought it would be fixed in later versions. I update it every time a new version is released, but the problem seems to exist all the time.
@MHSanaei commented on GitHub (Aug 8, 2024):
download the file from here
https://github.com/MHSanaei/3x-ui/actions/runs/10305209970
then unzip it and upload it to your server then use this code to install it
@okaya0x commented on GitHub (Aug 8, 2024):
After update
The problem is still
Original link https://panel.abc.com/demo/panel/settings
After clicking Restart Panel --Sure --loading Jump to new link https://panel.abc.com:1234/demo/panel/settings
@MHSanaei commented on GitHub (Aug 8, 2024):
If you install that file correctly it should work well
@okaya0x commented on GitHub (Aug 8, 2024):
Follow your prompts to update the files
sha1sum 815fc410a61ebf05f026f016827b46723ea21d65 /usr/local/x-ui/x-ui
https://github.com/alireza0/x-ui no problem
@MHSanaei commented on GitHub (Aug 8, 2024):
I changed it to alireza code
try download this
https://github.com/MHSanaei/3x-ui/actions/runs/10305209970
then unzip it and upload tar.gz to your root with FTP then use that code
@okaya0x commented on GitHub (Aug 8, 2024):
The problem still exists. If I replace the binary file in /usr/local/x-ui/x-ui with the binary file of alireza link https://github.com/alireza0/x-ui/releases/download/1.8.5/x-ui-linux-amd64.tar.gz, there is no problem.
@vahiidsharifi-code commented on GitHub (May 21, 2026):
سلام تو ورژن جدید در قسمت xray config دکمه reverse وجود ندارد چطور میتونم فعالش کنم ؟