Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration to support CloudFront Restricted Views #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seang96
Copy link

@seang96 seang96 commented Sep 26, 2019

I added an option to add additional restricted behaviors to directory paths in S3. This allows one to create generated content and host under their domain that needs to be restricted by CloudFront's signing of URL's or signing of cookies while keeping parts of the website public.

Below is an example of the new configurable variables.

custom:
  fullstack:
    restrictedPaths:
      - PathPattern: path/*
        TrustedSigners:
          - self

Copy link

@andrewphahn andrewphahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a section to the README documenting how and why to use this.

@andrewphahn
Copy link

This is something I have wanted to add for a long time. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants