• Skip to primary navigation
  • Skip to main content
  • Skip to footer

lawsie

The long-term storage silo of a human mind

  • Andrew Culture
  • Now Playing on Classic FM
  • Now Playing on 6 Music
  • Buy me a pint
You are here: Home / jekyll / How to redirect http to https on CloudFront

How to redirect http to https on CloudFront

Published February 3, 2018 by lawsie Leave a Comment

Last Updated on February 23, 2023

When setting up the behaviour variable in Amazon CloudFront distribution settings make sure you select to redirect http to https

Not much else to say here. If you set your Cloudfront distribution to https only (as some tutorials claim) then you’re at risk of rejecting any non https traffic.

Related from lawsie.com

  • Using CloudFront to set Amazon S3 permissions policy
  • Connecting your Jekyll domain name to CloudFront
  • Setting up SSL with Amazon S3 hosted Jekyll
  • Displaying your domain name in CloudFront URLs
  • Jekyll site hosted on CloudFront & S3 not updating
  • Set up Jekyll on S3 / CloudFront without www

Filed Under: jekyll Tagged With: Amazon Hosting Issues, jekyll

Have you found this content useful?

Buy me a pint

This website isn't packed with obnoxious advertising but it does cost money to keep alive. Every little donation is a big help!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Footer

Things I’m currently working on

  • Laws Jet Stream – Jet washing services
  • I’m currently building WebCaretakers.com, a hub of practical calculators for things I get asked about a lot.

Copyright © 2026 · Site wholly owned by Andrew Laws Associates Ltd | I also own and operate webcaretakers.com

SEO by Yeseo

  • Home
  • Observations
  • Consumer Info
  • Tech
  • Andrew Culture
  • Musician Stuff
  • ‘kin useful online calculators from WebCareTakers
  • Chilli sauce
  • Graveyard
  • About me
  • Privacy Policy
  • Cookies
  • Disclaimer
  • Contact me
  • Buy me a pint