mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds rate-limiting to notify
This commit is contained in:
parent
51db06e649
commit
272b7becfe
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ in {
|
||||||
base-url = url;
|
base-url = url;
|
||||||
listen-http = "127.0.0.1:${toString port}";
|
listen-http = "127.0.0.1:${toString port}";
|
||||||
behind-proxy = true;
|
behind-proxy = true;
|
||||||
|
visitor-attachment-daily-bandwidth-limit = "10M";
|
||||||
|
visitor-request-limit-burst = 5;
|
||||||
|
visitor-request-limit-replenish = "15s";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nginx.virtualHosts.${hostname} = {
|
nginx.virtualHosts.${hostname} = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue