feat(nginx): add rate limiting with per-domain overrides #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "franz-kafka/nixos-vps:feat/nginx-rate-limiting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds rate limiting at the Nginx level to catch floods before they reach backend services. CrowdSec handles persistent attackers; this handles the initial burst.
Default limits
Per-domain overrides
Each domain can customize
rateLimit.requests,rateLimit.burst, or disable entirely.Changes
modules/nginx.nix: NewrateLimitoptions (global + per-domain),limit_req+limit_conndirectivesconfiguration.nix: Rate limiting enabled globally, SearXNG override addedConfig reference