Add compose related nonsense and nginx configuration
All checks were successful
Build and Publish Docker Image / build (push) Successful in 21s
All checks were successful
Build and Publish Docker Image / build (push) Successful in 21s
This commit is contained in:
8
nginx/rates.conf
Normal file
8
nginx/rates.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# General request limit per IP
|
||||
limit_req_zone $binary_remote_addr zone=general:10m rate=30r/s;
|
||||
|
||||
# Static asset scraping control
|
||||
limit_req_zone $binary_remote_addr zone=static:10m rate=10r/s;
|
||||
|
||||
# API abuse protection
|
||||
limit_req_zone $binary_remote_addr zone=api:10m rate=5r/s;
|
||||
Reference in New Issue
Block a user