Skip to content

Commit

Permalink
add note about cloudfront/ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Tin authored and viktorshamal committed Aug 20, 2015
1 parent 97f514d commit b3f43b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
# config.cache_store = :mem_cache_store

# Enable serving of images, stylesheets, and JavaScripts from an asset server
# note: serving asset from Amazon CloudFront from a custom domain via https
# requires using either paying or usign SNI which doens't work on all browswer.
# for the time being we just use the cloudfront domain name instead.
config.action_controller.asset_host = ENV['ASSET_HOST']

# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
Expand Down

0 comments on commit b3f43b9

Please sign in to comment.