Skip to content

Rate Limit IPs

You can rate limit by IP address using the rateLimit filter. This can be easily activated in your global config by adding this:

  # Rate Limiter will only allow an IP address to connect a specified
  # amount of times in a given time frame.
    # Request Limit is the amount of times an IP address can create
    # a new connection before it gets blocked.
    requestLimit: 10
    # Windows Length is the time frame for the Request Limit.
    windowLength: 1s

Released under the AGPL-3.0.