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 FIX: avoid superflous logging when mime type is bad 2020-01-02 12:34:38 +11:00
enforce_hostname.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
missing_avatars.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
omniauth_bypass_middleware.rb FIX: Redirect to provided origin after auth (#12558) 2021-03-31 10:23:12 +01:00
request_tracker.rb FEATURE: Rate limit exceptions via ENV (#14033) 2021-08-13 12:00:23 -03:00
turbo_dev.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00