discourse/spec/components/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_spec.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
discourse_public_exceptions_spec.rb FIX: do not log if an invalid mime type is passed to app 2019-11-21 15:51:34 +11:00
enforce_hostname_spec.rb FIX: Allow CSP to work correctly for non-default hostnames/schemes (#9180) 2020-03-19 19:54:42 +00:00
request_tracker_spec.rb FEATURE: Rate limit exceptions via ENV (#14033) 2021-08-13 12:00:23 -03:00