Commit 4a382368 authored by Phillip Smith (fukawi2)'s avatar Phillip Smith (fukawi2)
Browse files

return 429 "too many requests" to clients exceeding rate-limits

parent ef61433a
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment