]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/rails.rb
Add Yandex to imagery blacklist
[chef.git] / cookbooks / web / recipes / rails.rb
index ea0287a975bba35e40f00bf1066142edb9445189..7d39696dc9799be531baa41b6d9bc4d26c4bed00 100644 (file)
@@ -159,7 +159,10 @@ rails_port "www.openstreetmap.org" do
     # Blacklist here
     ".*\\.here\\.com[/:].*",
     # Blacklist Mapy.cz
-    ".*\\.mapy\\.cz.*"
+    ".*\\.mapy\\.cz.*",
+    # Blacklist Yandex
+    ".*\\.api-maps\\.yandex\\.ru/.*",
+    ".*\\.maps\\.yandex\\.net/.*"
   ]
 end