We'll show you how easy it is to deploy a CloudFront distribution for to serve your assets. It's just a few lines of configuration.
config/jets/deploy.rb
Jets.deploy.configure do
config.assets.cloudfront.enable = true
config.assets.cloudfront.cert.arn = acm_cert_arn(domain: "example.com", region: "us-east-1")
config.assets.cloudfront.route53.enable = true
end
Ruby on Jets 6.0 Guide
1h 47m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day