From 645d4cda3b59732cffa32d5e6a80e09c5893fc0c Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Tue, 10 Jan 2012 15:00:29 -0800 Subject: [PATCH] Disable Rails's static asset server (Apache or nginx will already do this) --- config/environments/production.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index b8cac7d..e096883 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -9,10 +9,7 @@ AdoptAThing::Application.configure do config.action_controller.perform_caching = true # Disable Rails's static asset server (Apache or nginx will already do this) - # config.serve_static_assets = false - - # Enable Rails's static asset server - config.serve_static_assets = true + config.serve_static_assets = false # Compress JavaScripts and CSS config.assets.compress = true