From 4a99d84919c9c26491ba4dceb588261048b54096 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 21 Jun 2016 10:58:34 +0200 Subject: [PATCH] Do not serve static files from the application in production mode --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c7bead3..a6df31c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -23,7 +23,7 @@ Debshots::Application.configure do # config.action_dispatch.rack_cache = true # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_files = true + config.serve_static_files = false # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier