summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-08-07 22:32:56 +0200
committerQuentin Aristote <quentin@aristote.fr>2021-08-07 22:32:56 +0200
commit8144f0fe7e11cd7bffa41dea59d5c2a15f1e13de (patch)
tree210d8f3157936e0c6fb012c6038246776482d044 /config
parentfa3c877da11abf0af97f20192bee02cbdddb5753 (diff)
remove connection: close searx filter
Diffstat (limited to 'config')
-rw-r--r--config/searx/default.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/config/searx/default.nix b/config/searx/default.nix
index 2717868..7445c54 100644
--- a/config/searx/default.nix
+++ b/config/searx/default.nix
@@ -148,19 +148,19 @@ in {
}
];
}
- {
- name = "suspiciously Connection=close header";
- filters = [ "Header:Connection=close" ];
- limit = 0;
- stop = true;
- actions = [
- { name = "log"; }
- {
- name = "block";
- params = { message = "Rate limit exceeded"; };
- }
- ];
- }
+ # {
+ # name = "suspiciously Connection=close header";
+ # filters = [ "Header:Connection=close" ];
+ # limit = 0;
+ # stop = true;
+ # actions = [
+ # { name = "log"; }
+ # {
+ # name = "block";
+ # params = { message = "Rate limit exceeded"; };
+ # }
+ # ];
+ # }
{
name = "IP limit";
interval = 61;