ingress-nginx: Update user agent filtering
This commit is contained in:
parent
6b251aeb54
commit
f8f8f80d0d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue