X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ae501e32e6b6b901122e511470c2f838cd1b9e0a..88388614cf378c6749cf2b0598369f5a480e2251:/cookbooks/web/templates/default/apache.frontend.erb 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 #