On Sat, Jan 26, 2019 at 10:05:03PM +0100, Marco Colli wrote:
Hi there,
> I cannot figure out how to apply a rate limit *only to static files* served
> with try_files (and not for @app location). Is it possible?
The request is handled in a location. Only the config in, or inherited
in to, that lo
Hello!
I cannot figure out how to apply a rate limit *only to static files* served
with try_files (and not for @app location). Is it possible?
Here's my configuration:
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=2r/s;
server {
listen 80;
server_name example.com;
# serve th