]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/recipes/default.rb
Remove site specific SSL config
[chef.git] / cookbooks / taginfo / recipes / default.rb
index 93d1611235dcbe6517110daf6b8eca0846c14aa9..6c0062f9978da0747534a4575cbc0b44409ccb8f 100644 (file)
@@ -50,6 +50,7 @@ gem_package "rack-contrib"
 
 apache_module "cache"
 apache_module "cache_disk"
+apache_module "headers"
 
 template "/etc/cron.d/taginfo" do
   source "cron.erb"
@@ -111,6 +112,7 @@ node[:taginfo][:sites].each do |site|
   settings["instance"]["about"] = about
   settings["instance"]["icon"] = "/img/logo/#{icon}.png"
   settings["instance"]["contact"] = contact
+  settings["instance"]["access_control_allow_origin"] = ""
   settings["logging"]["directory"] = "/var/log/taginfo/#{name}"
   settings["opensearch"]["shortname"] = "Taginfo"
   settings["opensearch"]["contact"] = "webmaster@openstreetmap.org"