Skip to content

Conversation

@thaJeztah
Copy link
Member

extracting this from #10471

Having this variable set causes redirects to always redirect to https://docs.docker.com, which makes it not possible to preview redirects locally, or to host them on a different domain (e.g. on a staging domain).

Having this variable set causes redirects to always redirect to
https://docs.docker.com, which makes it not possible to preview
redirects locally, or to host them on a different domain (e.g.
on a staging domain).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@StefanScherer @usha-mandya PTAL; please double-check if this has no side-effects. I couldn't find any, but perhaps may have missed some

@usha-mandya
Copy link
Member

Can't think of any issues arising due to this change. @StefanScherer Any thoughts?

Copy link
Member

@StefanScherer StefanScherer left a comment

Choose a reason for hiding this comment

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

LGTM

@StefanScherer
Copy link
Member

Looking forward to test this in docs-test website.
Currently if I want to open this old doc https://docs-test.docker.com/v17.03/engine/admin/volumes/ it 301 forwards to https://docs-test.docker.com/engine/admin/volumes/ and then links to https://docs.docker.com/storage/ leaving the docs-test.docker.com website.
Maybe this is fixed after merging this PR?

@usha-mandya usha-mandya merged commit 5796c76 into docker:master Mar 20, 2020
@thaJeztah thaJeztah deleted the remove_fixed_domain branch March 20, 2020 10:16
@StefanScherer
Copy link
Member

Yes, the non existing page https://docs-test.docker.com/v17.03/engine/admin/volumes/ is now redirected to https://docs-test.docker.com/storage/ 🎉

@usha-mandya
Copy link
Member

Thanks Stefan!

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