Serve static content by nginx

This commit is contained in:
Vladimir Sharshov 2011-10-28 20:24:24 +04:00
parent 504466c82d
commit 640d88d7cd
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ Rosa::Application.configure do
# Disable Rails's static asset server # Disable Rails's static asset server
# In production, Apache or nginx will already do this # In production, Apache or nginx will already do this
config.serve_static_assets = true config.serve_static_assets = false
# Enable serving of images, stylesheets, and javascripts from an asset server # Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com" # config.action_controller.asset_host = "http://assets.example.com"