]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/apache.frontend.erb
Block a trace scraper
[chef.git] / cookbooks / web / templates / default / apache.frontend.erb
index 24ba353667c5a32de8aaecbb26f309bcfebbfaa1..f4848bc3a96e020b80df0f12ab2f97201eb645bc 100644 (file)
   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
   #