ingress-nginx: Update user agent filtering

This commit is contained in:
Rob Watson 2022-05-26 09:32:42 +02:00
parent 6b251aeb54
commit f8f8f80d0d
1 changed files with 1 additions and 1 deletions

View File

@ -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: