Skip to content

Commit 6512b1d

Browse files
authored
chore: Remove Netlify rate limits (#885)
1 parent fce6ab7 commit 6512b1d

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

netlify.toml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,3 @@
1111
from = "/home/stable/release_notes.html"
1212
to = "/home/stable/release-notes"
1313
status = 301
14-
15-
# -------------
16-
# RATE LIMITING
17-
# All rate limiting is aggregated by client IP and domain (domain is added automatically by Netlify)
18-
# Redirects/rules are evaluated from top to bottom and the first match will always be used by Netlify.
19-
# Our current tier only seems to allow 2 rate limiting rules.
20-
# -------------
21-
22-
#---------------------
23-
# ASSETS RATE LIMITING
24-
# These limits can be set higher, because most automated requests/attacks will most likely only
25-
# request the page itself and not its assets.
26-
# --------------------
27-
28-
# Rate limit access to assets. This redirect rule/rate limit comes BEFORE the catch-all.
29-
[[redirects]]
30-
from = "/_/*"
31-
to = "/_/:splat"
32-
[redirects.rate_limit]
33-
window_limit = 250
34-
window_size = 60
35-
aggregate_by = ["ip"]
36-
37-
#------------------------
38-
# CATCH-ALL RATE LIMITING
39-
# -----------------------
40-
41-
[[redirects]]
42-
from = "/*"
43-
to = "/:splat"
44-
[redirects.rate_limit]
45-
window_limit = 250
46-
window_size = 60
47-
aggregate_by = ["ip"]

0 commit comments

Comments
 (0)