s3_website icon indicating copy to clipboard operation
s3_website copied to clipboard

HTTP to HTTPS Redirection

Open josjaf opened this issue 7 years ago • 4 comments

I would love to see an example that takes all HTTP requests and redirects to HTTPS. Does anybody have working YAML for this? I'm trying to change the default viewer policy protocol.

josjaf avatar Oct 29 '18 16:10 josjaf

You should configure this using HSTS or Viewer Protocol Policy.

ghost avatar Feb 09 '19 12:02 ghost

Looks like there are some options for using Lambdas to achieve HSTS now.

@josjaf Have you moved forward at all on this yet? Your experiences would be useful to us.

ghost avatar Feb 19 '19 07:02 ghost

I have HTTPS to HTTP redirect working, but I had to set it manually, outside of this tool.

josjaf avatar Feb 19 '19 15:02 josjaf

Could you please share how you accomplished it? Was it using a Policy or using a Lambda, or something else?

ghost avatar Feb 20 '19 06:02 ghost