From c5ae5e767c7f8c4e1be85ba70e4d5afb89c504d8 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 15 May 2015 09:45:32 +0200 Subject: [PATCH] Do not serve static assets in production per default. --- 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 760833f0e..03087af52 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -15,7 +15,7 @@ Zammad::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 = true + config.serve_static_assets = false # Compress JavaScripts and CSS config.assets.compress = true