discourse/lib/middleware
Rafael dos Santos Silva b136375582
FEATURE: Rate limit exceptions via ENV (#14033)
Allow admins to configure exceptions to our Rails rate limiter.

Configuration happens in the environment variables, and work with both
IPs and CIDR blocks.

Example:

```
env:
  DISCOURSE_MAX_REQS_PER_IP_EXCEPTIONS: >-
    14.15.16.32/27
    216.148.1.2
```
2021-08-13 12:00:23 -03:00
..
anonymous_cache.rb PERF: Eager load Theme associations in Stylesheet Manager. 2021-06-21 11:06:58 +08:00
discourse_public_exceptions.rb
enforce_hostname.rb
missing_avatars.rb
omniauth_bypass_middleware.rb
request_tracker.rb FEATURE: Rate limit exceptions via ENV (#14033) 2021-08-13 12:00:23 -03:00
turbo_dev.rb