Skip to content

Commit ec031dc

Browse files
author
Fabian Schneider
committed
update docs to mention domain lists
1 parent c8162df commit ec031dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Elevating security measures, our module seamlessly enforces a custom ban command
2323
Experience granular control over your filtering strategy with a diverse array of customizable parameters, empowering you to tailor defenses to your unique environment.
2424

2525
- `userAgent`: Filter requests based on user agents, a pivotal strategy to pinpoint potentially malicious clients.
26-
- `domain`: Employ domain-based filters to focus on specific sections of your application.
26+
- `domain`: Employ domain-based filters to focus on specific sections of your application. Supports lists or single domains.
2727
- `referer`: Evaluate the source of incoming requests with referer-based filters.
2828
- `request`: Scrutinize request content with contextual filtering.
2929
- `method`: Filter requests by their HTTP methods (GET, POST, etc.).

config_example/anti-ddos.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"refeer": ""
2222
},
2323
{
24-
"domain": "localhost",
24+
"domain": [ "localhost", "example.com", "www.example.com" ],
2525
"score": 5
2626
},
2727
{

0 commit comments

Comments
 (0)