From 1bd241a0aee7ba8e1e176e55b8a2a23ab1fa9056 Mon Sep 17 00:00:00 2001 From: Andrew Kostka Date: Mon, 30 Oct 2023 10:35:17 +0000 Subject: [PATCH] chore(nginx): block Bytespider user-agent in ingress-nginx --- k8s/helmfile/env/production/ingress-nginx.values.yaml.gotmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/helmfile/env/production/ingress-nginx.values.yaml.gotmpl b/k8s/helmfile/env/production/ingress-nginx.values.yaml.gotmpl index d4de6603e..f1ea07751 100644 --- a/k8s/helmfile/env/production/ingress-nginx.values.yaml.gotmpl +++ b/k8s/helmfile/env/production/ingress-nginx.values.yaml.gotmpl @@ -8,7 +8,7 @@ controller: memory: 150Mi config: preserve-trailing-slash: true - block-user-agents: ~*Seekport\sCrawler.*,~*MJ12bot.* + block-user-agents: ~*Seekport\sCrawler.*,~*MJ12bot.*,~Bytespider # https://stackoverflow.com/a/37877244 log-format-upstream: >- $remote_addr - $remote_user [$time_local] "$request_method $scheme://$host$request_uri $server_protocol"