From 1ffda21ae38d203e381bedbf7bdbbd69c9031062 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 14:54:26 -0600 Subject: Implement ratelimit on authentications --- srv/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'srv/default.nix') diff --git a/srv/default.nix b/srv/default.nix index 6f93f2f..c55a987 100644 --- a/srv/default.nix +++ b/srv/default.nix @@ -29,6 +29,8 @@ export MEDIOCRE_BLOG_LISTEN_PROTO="${config.listenProto}" export MEDIOCRE_BLOG_LISTEN_ADDR="${config.listenAddr}" export MEDIOCRE_BLOG_HTTP_AUTH_USERS='${builtins.toJSON config.httpAuthUsers}' + + export MEDIOCRE_BLOG_HTTP_AUTH_RATELIMIT='${config.httpAuthRatelimit}' ''; build = buildGoModule { -- cgit v1.2.3