mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 11:34:59 +03:00
feat(hosts): give a host a pool of SNIs, random per config or shared (#6923)
Rotating SNIs meant one host entry per domain. A host now takes a pool of SNIs: with more than one, every generated config gets a random entry, or, with the shared switch on, the whole host group uses one pick per subscription fetch. Raw, JSON and Clash output, the panel's link preview and node adoption all carry the pool. sni stays the pool's first entry, so a rolled-back binary and API callers that only know the single field keep working; an sni outside the pool becomes its primary. A host with one SNI renders exactly as before.
This commit is contained in:
@@ -2394,6 +2394,7 @@
|
||||
"actions": "操作",
|
||||
"security": "安全",
|
||||
"sni": "SNI",
|
||||
"sniSharedRandom": "所有設定使用相同的隨機 SNI",
|
||||
"overrideSniFromAddress": "使用地址作為 SNI",
|
||||
"keepSniBlank": "保持 SNI 留空",
|
||||
"hostHeader": "Host 標頭",
|
||||
|
||||
Reference in New Issue
Block a user