Skip to content

Bug: reroute http to https #140

@gkpty

Description

@gkpty

Describe the bug
when a user enters the url without https he is taken to the site via http.

  • force http to https in the cloudfront distribution by modifying the cloudformation template default for the cloudfront dist in lib/templateDefaults.js

the example bellow applies the appropriate settings to the CF template called template

template.Resources.CloudFrontDist.Properties.DistributionConfig.DefaultCacheBehavior["ViewerProtocolPolicy"] = "redirect-to-https"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions