Skip to content

Commit

Permalink
[LAE] Block Dubbot (#4653)
Browse files Browse the repository at this point in the history
I hate to do it, but it's bringing things down and it's the end of the
day.
  • Loading branch information
tpendragon authored Feb 8, 2024
1 parent 30a962c commit 0d9a162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/nginxplus/files/conf/http/lae-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ server {
proxy_set_header X-Forwarded-Host $host;
proxy_cache laeprodcache;
health_check interval=10 fails=3 passes=2;
if ($http_user_agent ~ (Dubbotbot) ) {
return 403;
}
proxy_intercept_errors on;
limit_req zone=lae-prod-ratelimit burst=80 nodelay;
}
Expand Down

0 comments on commit 0d9a162

Please sign in to comment.