Setting Nginx Rate Limiting
Nov 10, 2021 | 1346 views
Two-Stage Rate Limiting
limit_req_zone $binary_remote_addr zone=ip:10m rate=5r/s;
server {
listen 80;
location / {
limit_req zone=ip burst=12 delay=8;
proxy_pass http://website;
}
}