]> git.openstreetmap.org Git - chef.git/commitdiff
Block out of control Bytespider indexer
authorTom Hughes <tom@compton.nu>
Thu, 7 Sep 2023 14:49:35 +0000 (15:49 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 7 Sep 2023 14:49:35 +0000 (15:49 +0100)
cookbooks/web/templates/default/apache.frontend.erb

index f4848bc3a96e020b80df0f12ab2f97201eb645bc..b097dee554b56c786dcecdef183fa914016a9498 100644 (file)
   RewriteCond %{HTTP_USER_AGENT} "python-httpx/0.24.1"
   RewriteRule . - [F,L]
 
+  #
+  # Block out of control spider
+  #
+  RewriteCond %{HTTP_USER_AGENT} "Bytespider"
+  RewriteRule . - [F,L]
+
   #
   # Block attempts to access old API versions
   #