From 9f4e7db9a8d691367e8fc3d800b424648b290465 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Sat, 7 Jul 2012 19:20:57 -0500 Subject: [PATCH] we're precompiling in production --- config/environments/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index fb055a7..d365c5d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -14,8 +14,8 @@ Lobsters::Application.configure do # Compress JavaScripts and CSS config.assets.compress = true - # Don't fallback to assets pipeline if a precompiled asset is missed - config.assets.compile = true + # fallback to assets pipeline if a precompiled asset is missed + config.assets.compile = false # Generate digests for assets URLs config.assets.digest = true @@ -25,7 +25,7 @@ Lobsters::Application.configure do # 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 + config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. config.force_ssl = true