Skip to content

Commit 54067cf

Browse files
committed
chore: Add rate limiting to whole page
1 parent 360a838 commit 54067cf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
command = "make netlify-build"
33
publish = "build/site"
44

5+
# Rate limiting across the whole page. 25 request per 60 seconds aggregated by client IP.
6+
[[redirects]]
7+
from = "/*"
8+
to = "/:splat"
9+
[redirects.rate_limit]
10+
window_limit = 25
11+
window_size = 60
12+
aggregate_by = ["ip"]
13+
514
[[redirects]]
615
from = "/home/stable/reference/*"
716
to = "https://hub.stackable.tech/crds"

0 commit comments

Comments
 (0)