]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/templates/default/apache.erb
Fix some issues with aggregate graphs
[chef.git] / cookbooks / taginfo / templates / default / apache.erb
index 932f335dd21908515da41c4406b4e9464437f331..288b13ff1c6f991358dc439cbd2edc4c7f7550ca 100644 (file)
 
         CacheEnable disk /api
         CacheEnable disk /embed
+        CacheStaleOnError off
+
+        <Location /api>
+                Header setifempty Access-Control-Allow-Origin *
+        </Location>
 </VirtualHost>
 <% end -%>