Skip to content

Commit

Permalink
REGEX
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Mar 9, 2024
1 parent 8e21c13 commit 2bca76f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/config/rules/domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ rules:
rules:
- DOMAIN-KEYWORD,ad,REJECT
```

## DOMAIN-REGEX

域名正则表达式,如果请求的域名中匹配到正则,则会匹配上此规则

```{.yaml linenums="1"}
rules:
- DOMAIN-REGEX,^bili.*dns,REJECT
```

0 comments on commit 2bca76f

Please sign in to comment.