feat: Add new logic for judge path with *
Some checks failed
build / build (push) Failing after 1m38s

This commit is contained in:
d3m0k1d
2026-01-21 16:07:31 +03:00
parent 16a174cf56
commit b6e92a2a57
2 changed files with 20 additions and 4 deletions

View File

@@ -45,4 +45,5 @@ Example:
```
**Description**
The [[rule]] section require name and one of the following parameters: service, path, status, method. To add a rule, create a [[rule]] block and specify the parameters.
ban_time require in format "1m", "1h", "1d", "1M", "1y"
ban_time require in format "1m", "1h", "1d", "1M", "1y".
If you want to ban all requests to PHP files (e.g., path = "*.php") or requests to the admin panel (e.g., path = "/admin/*")