From f8f8f80d0d49e4de059100c2483748fc0901bc6e Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Thu, 26 May 2022 09:32:42 +0200 Subject: [PATCH] ingress-nginx: Update user agent filtering --- deploy/base/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/base/ingress.yaml b/deploy/base/ingress.yaml index b41bb5f..4aef71d 100644 --- a/deploy/base/ingress.yaml +++ b/deploy/base/ingress.yaml @@ -5,7 +5,7 @@ metadata: annotations: nginx.ingress.kubernetes.io/proxy-body-size: 5m nginx.ingress.kubernetes.io/server-snippet: | - if ($http_user_agent ~* "BLEXBot|SemrushBot" ) { + if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) { return 403; } spec: