Skip to content

Conversation

@crazy-max
Copy link
Member

@crazy-max crazy-max commented Jul 15, 2022

follow-up #15109

This is in preparation for a follow-up PR to handle redirects directly in our Cloudfront distribution: crazy-max@d44d840

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

@crazy-max crazy-max requested a review from thaJeztah July 15, 2022 19:30
@netlify
Copy link

netlify bot commented Jul 15, 2022

Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 820d9c4
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/62d59d3446e90400081e7aa4
😎 Deploy Preview https://deploy-preview-15133--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the move-s3-redirects branch from 5e52db5 to 820d9c4 Compare July 18, 2022 17:49
Comment on lines +52 to +59
- /v1.4/
- /v1.5/
- /v1.6/
- /v1.7/
- /v1.8/
- /v1.9/
- /v1.10/
- /v1.10/
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure these would work; the current redirects match by prefix (so /v1.4/engine/reference/commandline/cli/ (e.g.) would redirect to /engine/reference/commandline/cli/ etc.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ohhh that's a very good point, didn't catch that we were using KeyPrefixEquals

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we have to handle that with the lambda edge function I was working on.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, we could add some of those I guess; then again, the current ones works, so perhaps no need to spend too much time on that for now

@crazy-max
Copy link
Member Author

carry changes in #15151 using the lambda function instead.

@crazy-max crazy-max closed this Jul 18, 2022
@crazy-max crazy-max deleted the move-s3-redirects branch October 27, 2022 10:46
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