Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
4a382368
Commit
4a382368
authored
Nov 04, 2019
by
Phillip Smith (fukawi2)
Browse files
return 429 "too many requests" to clients exceeding rate-limits
parent
ef61433a
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/fluxbb/templates/nginx.conf.j2
View file @
4a382368
...
...
@@ -17,6 +17,7 @@ server {
# limit to 1 requests per minute, with a burst defined when we use this
# limiter in the location directive below
limit_req_zone $binary_remote_addr zone=rsslimit:8m rate=1r/m;
limit_req_status 429;
server {
listen 443 ssl http2;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment