X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7a100e1f0604b3374a42b8e29a3ea429a1558883..40e04dda9c896503238eef130e6bed4f06bd1738:/cookbooks/web/templates/default/apache.frontend.erb?ds=inline diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index 24ba35366..f4848bc3a 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -65,6 +65,12 @@ RewriteCond %{HTTP_USER_AGENT} "OSMApp Tuner" RewriteRule . - [F,L] + # + # Block trace scraper + # + RewriteCond %{HTTP_USER_AGENT} "python-httpx/0.24.1" + RewriteRule . - [F,L] + # # Block attempts to access old API versions #