mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-25 07:48:07 +03:00
Routing: Fix missing subsection title in EN and CN locales (#833)
This commit is contained in:
@@ -80,6 +80,8 @@
|
||||
当多个属性同时指定时,这些属性需要**同时**满足,才可以使当前规则生效。
|
||||
:::
|
||||
|
||||
> `domain`: \[string\]
|
||||
|
||||
- 纯字符串:同下面的子串,但可以省略前面的 `"keyword:"` 开头。
|
||||
- 正则表达式:由 `"regexp:"` 开始,余下部分是一个正则表达式。当此正则表达式匹配目标域名时,该规则生效。例如 "regexp:\\\\.goo.\*\\\\.com\$" 匹配 "www.google.com"、"fonts.googleapis.com",但不匹配 "google.com"。大小写敏感。
|
||||
- 子域名 (推荐):由 `"domain:"` 开始,余下部分是一个域名。当此域名是目标域名或其子域名时,该规则生效。例如 "domain:xray.com" 匹配 "www.xray.com" 与 "xray.com",但不匹配 "wxray.com"。
|
||||
|
||||
@@ -80,6 +80,8 @@ When a rule points to a load balancer, Xray will select an outbound through this
|
||||
When multiple attributes are specified simultaneously, these attributes must be satisfied **simultaneously** for the current rule to take effect.
|
||||
:::
|
||||
|
||||
> `domain`: \[string\]
|
||||
|
||||
- **Pure string**: Same as substring below, but the `"keyword:"` prefix can be omitted.
|
||||
- **Regular expression**: Starts with `"regexp:"`, the rest is a regular expression. The rule takes effect when the regular expression matches the target domain. For example, "regexp:\\\\.goo.\*\\\\.com\$" matches "www.google.com" and "fonts.googleapis.com", but not "google.com". Case sensitive.
|
||||
- **Subdomain (Recommended)**: Starts with `"domain:"`, the rest is a domain name. The rule takes effect when the domain is the target domain or its subdomain. For example, "domain:xray.com" matches "www.xray.com" and "xray.com", but not "wxray.com".
|
||||
|
||||
Reference in New Issue
Block a user