Skip to content

Conversation

@crazy-max
Copy link
Member

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

Handles redirects generated by https://docs.docker.com/redirects.json in our s3 bucket by setting redirect requests for the objects. As our bucket is configured as a website, objects with redirects should have the proper 301 redirect status.

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

@crazy-max crazy-max requested a review from thaJeztah July 13, 2022 11:52
@netlify
Copy link

netlify bot commented Jul 13, 2022

Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ba3ca84
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/62ced21059875f0009a92a51
😎 Deploy Preview https://deploy-preview-15109--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.

@crazy-max crazy-max requested a review from StefanScherer July 13, 2022 12:10
@crazy-max
Copy link
Member Author

@thaJeztah
Copy link
Member

Goooooood question. TBH I forgot that was there; looks like that was part of e3cb726, but I'd have to dig as well to see how (and IF) it's still used.

@thaJeztah
Copy link
Member

A quick search tells me it's no longer used 🤔 but please double check if you find some reference to it

@thaJeztah
Copy link
Member

Oh! Perhaps I left it as a reminder to "include these as redirect_from"

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

I guess the only way to try this one is to merge and check docs-stage.docker.com ?

@crazy-max
Copy link
Member Author

LGTM

I guess the only way to try this one is to merge and check docs-stage.docker.com ?

Yes indeed

@usha-mandya usha-mandya merged commit 85c5ba5 into docker:master Jul 13, 2022
@crazy-max crazy-max mentioned this pull request Jul 13, 2022
crazy-max added a commit to crazy-max/docker-docs that referenced this pull request Jul 13, 2022
This reverts commit 85c5ba5, reversing
changes made to 23b73f2.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max crazy-max deleted the redirects branch July 15, 2022 19:17
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.

3 participants