summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2011-08-30 17:34:00 +0200
committerAlex Legler <alex@a3li.li>2011-08-30 17:34:00 +0200
commit94fec963ab1af751e65af6951379316efeb00031 (patch)
tree28a5acb010dc381f3591c2576f42fbefac799ea4 /config
parentdatabase.yml.mysql: Comment defaults (diff)
downloadglsamaker-94fec963ab1af751e65af6951379316efeb00031.tar.gz
glsamaker-94fec963ab1af751e65af6951379316efeb00031.tar.bz2
glsamaker-94fec963ab1af751e65af6951379316efeb00031.zip
production env: Do not compress JS and use X-Accel-Redirect
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 62e5397..2ff9d70 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -12,11 +12,11 @@ Glsamaker::Application.configure do
config.serve_static_assets = false
# Compress JavaScripts and CSS
- config.assets.compress = true
+ config.assets.compress = false
# 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
+ config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # Use '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