ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 119 forks source link

Force HTTPS #102

Closed nodomain closed 6 years ago

nodomain commented 6 years ago

Awesome product!

I would like to see a "force HTTPs" option, e.g. that the CloudFront behavior by default is set to redirect HTTP to HTTPS. Would you please implement or give me a hint where to "fix" this? Newbie to Cloudformation...

ks888 commented 6 years ago

Sounds good! I think we can always redirect http to https and don't need to make it optional as I assume our status page supports https access in any case.

Also, thank you for offering your help. Our cloudformation template file is ./cloudformation/lamb-status.yml and maybe just modifying some properties of the AWS::CloudFront::Distribution resource is enough. There are some ViewerProtocolPolicy properties and so change these values seeing this doc.