services.discourse.backendSettings
NixOS option
Additional settings to put in the discourse.conf file. Look in the discourse_defaults.conf file in the upstream distribution to find available options. Setting an option to null means “define variable, but leave right-hand side empty”.
type: attribute set of (null or string or signed integer or boolean or floating point number)Default
{ }Example
declared in: nixos/modules/services/web-apps/discourse.nixView source on NixOS/nixpkgs →{
max_reqs_per_ip_per_minute = 300;
max_reqs_per_ip_per_10_seconds = 60;
max_asset_reqs_per_ip_per_10_seconds = 250;
max_reqs_per_ip_mode = "warn+block";
};