docs/en/docs/rules/ignore.md
This command is used to ignore matching rules for a specific protocol, or to ignore the currently configured matching rules.
pattern ignore://p1|p2|... [filters...]
# Equivalent to:
pattern ignore://p1 ignore://p2 ... [filters...]
The separator is either
|or&
| Parameters | Description | Detailed Documentation |
|---|---|---|
| pattern | Expression to match against the request URL | Match Pattern Documentation |
| value | Protocol name | |
* indicates all protocols | ||
-p excludes p | ||
| ⚠️ Loading data from files/remote URLs is not supported | Protocol List | |
| filters | Optional filters, supports matching: | |
| • Request URL/Method/Header/Content | ||
| • Response Status Code/Header | Filter Documentation |
# Ignore all rules, retaining only those for the `file` protocol.
www.example.com/path ignore://*|-file
# Ignore specific protocols: file, host
www.example.com/path2 ignore://file|host
ignore ignores matched rules for a specific protocol. Rules ignored in this way will not match other rules of the same type. To have a request ignore a rule and then continue to match other rules of the same type, use the skip command.