Skip to content

Commit

Permalink
Block a couple of more bots
Browse files Browse the repository at this point in the history
  • Loading branch information
jdamerow committed Mar 14, 2024
1 parent b65c6b4 commit 4a1ba18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .platform/nginx/nginx.conf
Expand Up @@ -70,7 +70,7 @@ http {

access_log /var/log/nginx/access.log;

if ($http_user_agent ~* (amazonbot|bytespider)) {
if ($http_user_agent ~* (amazonbot|bytespider|semrushbot|dataforseobot|ahrefsbot)) {
return 403;
}
# this needs to be uncommented once production is ready to switch
Expand All @@ -79,4 +79,4 @@ http {
# Include the Elastic Beanstalk generated locations
include conf.d/elasticbeanstalk/*.conf;
}
}
}

0 comments on commit 4a1ba18

Please sign in to comment.