Skip to content

Commit

Permalink
fixed images
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Aug 4, 2012
1 parent 3c9e71b commit e050fe0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/environments/production.rb
Expand Up @@ -11,9 +11,17 @@
# 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 = false
# Compress JavaScripts and CSS
config.assets.compress = false
config.assets.compress = true

# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = false #true

# Generate digests for assets URLs
config.assets.digest = true

# Specifies the header that your server uses for sending files
# (comment out if your front-end server doesn't support this)
config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
Expand Down

0 comments on commit e050fe0

Please sign in to comment.