X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e9aa039648867546ebda79d0ceae2f6aa6f9621d..1bd8163c228324ae78795aed98f5d34beab7fc6a:/cookbooks/taginfo/recipes/default.rb diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index 93d161123..6c0062f99 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -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"