updates
This commit is contained in:
7
nginx-rate-limit-zones.conf
Normal file
7
nginx-rate-limit-zones.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# Rate Limiting Zones for GNX-WEB
|
||||
# Add these lines to /etc/nginx/nginx.conf inside the http {} block
|
||||
# Or include this file in /etc/nginx/nginx.conf with: include /etc/nginx/conf.d/rate-limit-zones.conf;
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=api_limit:10m rate=10r/s;
|
||||
limit_req_zone $binary_remote_addr zone=general_limit:10m rate=100r/s;
|
||||
|
||||
Reference in New Issue
Block a user