]> 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 c991fa209d27fcf77807dc5c04d05dc90872052b..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,11 +112,12 @@ 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"
   settings["sources"]["download"] = "josm"
-  settings["sources"]["create"] = "db languages potlatch wiki"
+  settings["sources"]["create"] = "db languages potlatch projects wiki"
   settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf"
   settings["sources"]["db"]["tagstats"] = "#{directory}/taginfo/tagstats/tagstats"
   settings["tagstats"]["cxxflags"] = "-I../../osmium/include"