Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Disable Rails's static asset server (Apache or nginx will already do this)
- config.serve_static_assets = false
- # Compress JavaScripts and CSS
- config.assets.compress = true
- # Don't fallback to assets pipeline if a precompiled asset is missed
- config.assets.compile = false
- # Generate digests for assets URLs
- config.assets.digest = true
- # Specifies the header that your server uses for sending files
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement