From: Tom Hughes Date: Wed, 17 Jan 2018 18:47:05 +0000 (+0000) Subject: Make dev sites serve crossdomain.xml with correct MIME type X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/090fe909149f22d158c859a7d4a9edfb523df2fb?ds=sidebyside Make dev sites serve crossdomain.xml with correct MIME type --- diff --git a/cookbooks/dev/templates/default/apache.rails.erb b/cookbooks/dev/templates/default/apache.rails.erb index e431cf1a1..983d1daf7 100644 --- a/cookbooks/dev/templates/default/apache.rails.erb +++ b/cookbooks/dev/templates/default/apache.rails.erb @@ -23,6 +23,11 @@ # Ensure robots do not index dev site # https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag Header set X-Robots-Tag "noindex, nofollow" + + # Force special MIME type for crossdomain.xml files + + ForceType text/x-cross-domain-policy +