mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3581] [CLOSED] feat: multi-server-support #5455
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#5455
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/3581
Author: @dimasmir03
Created: 10/31/2025
Status: ❌ Closed
Base:
main← Head:feature/multi-server-support📝 Commits (10+)
11dc068feat: Add multi-server support for Sanai paneld65233cMerge branch 'main' into feature/multi-server-supportae82373Merge branch 'main' into feature/multi-server-support3299d15Merge branch 'main' into feature/multi-server-supporta3ccccfMerge branch 'main' into feature/multi-server-support747af37Merge branch 'main' into feature/multi-server-support5e953baMerge branch 'main' into feature/multi-server-supportedd8b12Merge branch 'main' into feature/multi-server-support51abd16add EXPOSE port in Dockerfile4c7249cMerge branch 'main' into feature/multi-server-support📊 Changes
48 files changed (+15339 additions, -1563 deletions)
View changed files
📝
.vscode/launch.json(+32 -32)📝
.vscode/tasks.json(+8 -43)📝
config/version(+1 -1)📝
database/db.go(+1 -0)📝
database/model/model.go(+10 -0)📝
go.mod(+13 -11)📝
go.sum(+16 -38)📝
install.sh(+8 -1)📝
logger/logger.go(+27 -99)📝
main.go(+20 -2)📝
sub/sub.go(+1 -1)📝
sub/subJsonService.go(+1 -1)📝
sub/subService.go(+48 -27)➖
update.sh(+0 -258)➖
util/ldap/ldap.go(+0 -144)➖
web/assets/ant-design-vue/antd.min.js.map(+0 -1)📝
web/assets/axios/axios.min.js(+2 -2)➖
web/assets/axios/axios.min.js.map(+0 -1)➕
web/assets/bootstrap/bootstrap.min.css(+13894 -0)➕
web/assets/bootstrap/bootstrap.min.js(+7 -0)...and 28 more files
📄 Description
I took the basis that @javadtgh did . I made a minimal version for this feature.
Every action in Inbounds is synchronized with all Servers. When adding a new server, it is possible to synchronize Inbounds on it using the Sync button.
So far, only Inbounds are synced.
To work with servers, an ApiKey has been added to avoid constantly doing /login and receiving cookies.
Взял основу которую делал @javadtgh . Сделал минимальную версия для данной фичи.
Каждое действие в Inbounds синхронизируется со всеми Servers. При добавлении нового сервера есть возможность синхронизировать на нём Inbounds с помощью кнопки Sync.
Пока синхронизируются только Inbounds.
Для работы с servers добавлен ApiKey чтобы не делать постоянно /login и получать куки.
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.