set config.server_static_assets as true in config/environment/production.rb