diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 14:54:26 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-20 14:54:26 -0600 |
commit | 1ffda21ae38d203e381bedbf7bdbbd69c9031062 (patch) | |
tree | 32b28a8fd92341e69f639b6959bfd04347728494 /srv/default.nix | |
parent | ae1fa76efc0d771ca50dede367bd228ce9f7b969 (diff) |
Implement ratelimit on authentications
Diffstat (limited to 'srv/default.nix')
-rw-r--r-- | srv/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |