albjeremias
(Albatroz Jeremias)
23 februari 2023 om 14:44
1
I have multiple users sharing the same ip address using my discourse instance, how do I tune the rate limiting on the new discourse 3? i dont think this has very good default values, they seem to low. i didn’t get this problem with the previous version
pfaffman
(Jay Pfaffman)
23 februari 2023 om 18:49
2
You can set these in your ENV section in app.yml.
DISCOURSE_MAX_REQS_PER_IP_PER_10_SECONDS: 200
DISCOURSE_MAX_REQS_PER_IP_PER_MINUTE: 400
2 likes
Canapin
(Coin-coin le Canapin)
24 februari 2023 om 15:40
3
For your information, there is documentation about rate limits:
Discourse ships with 3 different global rate limits that can be configured by site admins.
Global per-ip rate limits
These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded)
By default this rate limit is enabled, you may disable it or set it to a reporting mode.
DISCOURSE_MAX_REQS_PER_IP_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and no…
It’s easily found by using the search. First result
2 likes
system
(system)
gesloten
26 maart 2023 om 15:40
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.