RackEnv production
PassengerMinInstances 10
PassengerPreStart http://<%= @name %>/
+
+ CacheEnable disk /api
+ CacheEnable disk /embed
+ CacheStaleOnError off
+
+ <Location /api>
+ Header setifempty Access-Control-Allow-Origin *
+ </Location>
</VirtualHost>
<% end -%>
+
+<Directory <%= @directory %>>
+ Require all granted
+</Directory>