summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5d6a31b)
This is a horrid hack as a workaround pending a fix to the actual
bug in apache:
https://issues.apache.org/bugzilla/show_bug.cgi?id=56898
apache_module "cache"
apache_module "cache_disk"
apache_module "cache"
apache_module "cache_disk"
template "/etc/cron.d/taginfo" do
source "cron.erb"
template "/etc/cron.d/taginfo" do
source "cron.erb"
CacheEnable disk /api
CacheEnable disk /embed
CacheStaleOnError off
CacheEnable disk /api
CacheEnable disk /embed
CacheStaleOnError off
+
+ <Location /api>
+ Header setifempty Access-Control-Allow-Origin *
+ </Location>
</VirtualHost>
<% end -%>
</VirtualHost>
<% end -%>