From 54067cf9ff3afa83c550b8837f99f0d1791c7006 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 14 Jul 2026 17:25:02 +0200 Subject: [PATCH] chore: Add rate limiting to whole page --- netlify.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netlify.toml b/netlify.toml index 05d325692..134b36ed4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,6 +2,15 @@ command = "make netlify-build" publish = "build/site" +# Rate limiting across the whole page. 25 request per 60 seconds aggregated by client IP. +[[redirects]] + from = "/*" + to = "/:splat" + [redirects.rate_limit] + window_limit = 25 + window_size = 60 + aggregate_by = ["ip"] + [[redirects]] from = "/home/stable/reference/*" to = "https://hub.stackable.tech/crds"