Skip to content

Commit

Permalink
chore(nginx): block Bytespider user-agent in ingress-nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka committed Oct 30, 2023
1 parent 5bf9dc6 commit 1bd241a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1bd241a

Please sign in to comment.