diff --git a/config/environments/production.rb b/config/environments/production.rb index 2a2254f1..5db619f2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -14,8 +14,9 @@ Osem::Application.configure do # Rake tasks automatically ignore this option for performance. config.eager_load = 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 + # Set to false if serving directly through your web server, or using an asset host + config.serve_static_assets = true # Compress JavaScripts and CSS config.assets.compress = true