mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-19 09:30:59 +00:00
feat(fallbacks): add per-rule dest override
Operators can now type an explicit dest (e.g. "8443", "127.0.0.1:8443", "/dev/shm/x.sock") on each fallback row to override the auto-resolved child listen+port. Empty keeps the existing auto behavior. Adds the column to inbound_fallbacks (GORM AutoMigrate), threads it through the panel form, API docs, and translations.
This commit is contained in:
@@ -863,7 +863,7 @@
|
||||
"tags": [
|
||||
"Inbounds"
|
||||
],
|
||||
"summary": "List the fallback rules attached to a master VLESS/Trojan TCP-TLS inbound. Each rule links one child inbound (the dest) to optional SNI/ALPN/path/xver match criteria.",
|
||||
"summary": "List the fallback rules attached to a master VLESS/Trojan TCP-TLS inbound. Each rule links one child inbound (the dest) to optional SNI/ALPN/path/dest/xver match criteria. When dest is empty the child inbound's listen+port is used.",
|
||||
"operationId": "get_panel_api_inbounds_id_fallbacks",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -903,6 +903,7 @@
|
||||
"name": "",
|
||||
"alpn": "",
|
||||
"path": "/vlws",
|
||||
"dest": "",
|
||||
"xver": 2,
|
||||
"sortOrder": 0
|
||||
}
|
||||
@@ -946,7 +947,8 @@
|
||||
},
|
||||
{
|
||||
"childId": 12,
|
||||
"alpn": "h2"
|
||||
"alpn": "h2",
|
||||
"dest": "8443"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user