albjeremias
(Albatroz Jeremias)
23 Febbraio 2023, 2:44pm
1
Ho più utenti che condividono lo stesso indirizzo IP utilizzando la mia istanza di Discourse, come posso regolare il rate limiting sul nuovo Discourse 3? Non credo che abbia valori predefiniti molto buoni, sembrano troppo bassi. Non ho avuto questo problema con la versione precedente
pfaffman
(Jay Pfaffman)
23 Febbraio 2023, 6:49pm
2
Puoi impostarli nella sezione ENV di app.yml.
DISCOURSE_MAX_REQS_PER_IP_PER_10_SECONDS: 200
DISCOURSE_MAX_REQS_PER_IP_PER_MINUTE: 400
2 Mi Piace
Canapin
(Coin-coin le Canapin)
24 Febbraio 2023, 3:40pm
3
Per tua informazione, c’è documentazione sui limiti di frequenza:
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 n…
Si trova facilmente usando la ricerca. Primo risultato
2 Mi Piace
system
(system)
Chiuso
26 Marzo 2023, 3:40pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.