Easier Configuration: add 3 alias, add default tag for inbounds and outbounds#4967
Closed
patterniha wants to merge 2 commits intoXTLS:mainfrom
Closed
Easier Configuration: add 3 alias, add default tag for inbounds and outbounds#4967patterniha wants to merge 2 commits intoXTLS:mainfrom
patterniha wants to merge 2 commits intoXTLS:mainfrom
Conversation
Member
|
我还是那句话 太多别名只会让交流更不方便(一个人说dokodemo-door一个人说tunnel)同时代码更难读(外面一个名字里面一个名字) |
Member
|
前两个别名我写了还没 commit,黑洞的别名 block 我顺便加上吧,默认 tag 没必要 |
Collaborator
Author
|
default tag is applied when So it doesn't matter if both tags are |
Member
|
总之这种隐式 tag 还是不要加比较好,配置文件看起来不直观了,@Fangliding 之前想加默认 freedom 出站也被我 close 了 |
Member
|
|
Member
|
总之加这些别名能使配置文件读起来更直观,但加隐式 tag 或默认 freedom 出站会使配置文件读起来一头雾水 |
Collaborator
Author
|
but now users should set: but it is redundant and not elegant. anyway, it is not important and depending on opinion. |
Member
|
默认 tag 加了,用户得重新读文档才能知道,并且路由、balancer 等有 tag 前缀匹配什么的,可能会给用户造成意想不到的麻烦 |
RPRX
added a commit
that referenced
this pull request
Aug 1, 2025
…4968) dokodemo-door -> tunnel freedom -> direct blackhole -> block #4966 (comment) #4967 (comment)
maoxikun
pushed a commit
to maoxikun/Xray-core
that referenced
this pull request
Aug 23, 2025
…TLS#4968) dokodemo-door -> tunnel freedom -> direct blackhole -> block XTLS#4966 (comment) XTLS#4967 (comment) (cherry picked from commit 116cd70)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add alias:
tunnelfordokodemo-doordirectforfreedomblockforblackholeadd default inbounds and outbounds tag:
outbounds:
inbounds: