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


I have a rails application running on AWS EB with passenger standalone.
However the asset served doesn’t seem to set cache headers.
What is the preferred way to do this?

I tried running standalone in a single instance and it’s properly
cache headers. However that’s not the case in aws elastic beanstalk. Any
help to tackle this problem?