HomeMiraheze

Move rate limit at cache proxies from NGINX to Varnish

Description

Move rate limit at cache proxies from NGINX to Varnish

While applying rate limits at NGINX is good practice to stop malicious requests at the first layer, NGINX cannot deal with rate limiting based on URLs. T6146 shows the need for different rate limits per URL, which is possible in Varnish. Using vsthrottle also allows us to keep NGINX config clean.

Details

Provenance
SouthparkfanAuthored on Fri, Oct 2, 23:57
Parents
rPUPC2815534395f4: Add www.desmos.com to CSP whitelist per T4976 (#1501)
Branches
Unknown
Tags
Unknown