AWS Elastic Beanstalk - Passenger Standalone - Rails 未设置资产缓存 headers

AWS Elastic Beanstalk - Passenger Standalone - Rails not setting asset cache headers

我在 AWS EB 上有一个 rails 应用程序 运行,带有 passenger standalone。但是,所提供的资产似乎并未设置缓存 headers。执行此操作的首选方法是什么?

问题出在 aws 的 nginx 配置模板上。 对于 运行 的乘客: 64 位亚马逊 Linux 2015.09 v2.0.6 运行 Ruby 2.2(单机版)

它将 rails 资产配置为末尾的 32 位摘要,而在 rails 4.2

中为 64 位摘要

感谢丹尼尔提供的信息。

https://groups.google.com/forum/#!topic/phusion-passenger/Tqmx09coB48