initial import

This commit is contained in:
tengel 2024-03-17 12:53:54 -05:00
parent 3ed58b0021
commit 4b70c0023c
48 changed files with 1540 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# https://www.nginx.com/blog/rate-limiting-nginx/
# https://nginx.org/en/docs/http/ngx_http_limit_req_module.html
limit_req_zone $binary_remote_addr zone=normal:10m rate=20r/s;
limit_req zone=normal burst=30 nodelay;
limit_req_status 429;
# https://nginx.org/en/docs/http/ngx_http_core_module.html
server_tokens off;
keepalive_requests 100;
keepalive_timeout 15s;
client_body_timeout 20s;
client_header_timeout 20s;