mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #6448] [CLOSED] fix(frontproxy): restart the reverse proxy on a panel-only restart #6270
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#6270
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/MHSanaei/3x-ui/pull/6448
Author: @kuzzrus
Created: 9/10/2026
Status: ❌ Closed
Base:
main← Head:fix-restart-panel-frontproxy📝 Commits (10+)
89f17f6fix(frontend): give AmneziaWG the same UDP tag and its own tag color5b58369feat(logs): show which AmneziaWG client an access-log line belongs tobb6a874fix(amneziawg): enable sniffing on the TPROXY bridgea903ca6chore(release): bump version to 3.5.0-awg.5d3da7abfix: port the PR #6105 review-round fixes into this fork's own AmneziaWG code1b07dadfix(install.sh): check the live sysctl value, not sysctl.conf text98dce6edocs: catch up the "Other changes" changelog for two shipped fixes34c43c8fix: address the automated review round on PR #61549e42ec8test: wrap renderWithProviders in QueryClientProvider8daf1d8fix: harden the bin/ snapshot-and-restore against the review round on #6152📊 Changes
326 files changed (+30747 additions, -29536 deletions)
View changed files
➖
.dockerignore(+0 -10)📝
.github/ISSUE_TEMPLATE/bug_report.yaml(+0 -2)📝
.github/ISSUE_TEMPLATE/feature_request.yaml(+0 -1)📝
.github/ISSUE_TEMPLATE/question.yaml(+0 -1)📝
.github/claude/repo-context.md(+1 -1)📝
.github/pull_request_template.md(+0 -1)📝
.github/workflows/ci.yml(+16 -2)📝
.github/workflows/claude-bot.yml(+672 -543)➖
.github/workflows/docker.yml(+0 -62)➖
.github/workflows/docs-deploy.yml(+0 -77)📝
.github/workflows/release.yml(+6 -138)📝
.golangci.yml(+6 -0)➖
DockerEntrypoint.sh(+0 -82)➖
DockerInit.sh(+0 -58)➖
Dockerfile(+0 -74)➖
README.ar_EG.md(+0 -205)➕
README.en_US.md(+212 -0)➖
README.es_ES.md(+0 -206)➖
README.fa_IR.md(+0 -206)📝
README.md(+130 -124)...and 80 more files
📄 Description
Summary
StopPanelOnly/StartPanelOnly(the SIGHUP handler behind the "Restart Panel" button) never stoppedfrontproxy.GetManager()— it lived insidestop()'sstopXray-gated sidecar block, so a panel-only restart skipped it entirely.Manager.Start()then found its own still-running server and silently no-op'd, so a changed reverse-proxy domain, cert mode, port, or listen address could never actually take effect from the UI — only a real process restart (systemctl restart) rebuilds the listener.StopAll()call out of the gated block so it pairs withstart()'s already-unconditionalFrontProxyService.AutoStart()— the door now rebuilds with current settings on every restart, panel-only included. The other sidecars (Tor/AmneziaWG/MTProto/Psiphon/AdGuard) are untouched and still correctly ride through a panel-only restart undisturbed, since they're unrelated to panel settings.Found live while testing the reverse-proxy's
autoTLS mode: after changing the configured domain and clicking "Restart Panel," the certificate status never updated — confirmed via the SIGHUP handler inmain.goandManager.Start()'s own "already running, no-op" guard that this restart path genuinely never touches frontproxy at all.Test plan
gofmt -lclean on the changed filego build ./...(blocked locally by an unrelated pre-existing CGO/sqlite3 driver mismatch on this Windows machine — same known limitation as every other DB-adjacent change this fork has shipped; relying on CI)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.