Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Add JS HTTP->HTTPS redirect #28

Merged
merged 1 commit into from
Apr 16, 2019
Merged

Add JS HTTP->HTTPS redirect #28

merged 1 commit into from
Apr 16, 2019

Conversation

brannondorsey
Copy link
Member

Read the docs does not currently support HTTP -> HTTPS redirects for custom domains (CNAME), but they are actively working on it: readthedocs/readthedocs.org#4641

Until those changes are merged we'll have to handle the redirection for the docs ourselves. This is a quick and dirty JS redirect that keeps us from having to host any server-side things ourselves. This can be a temporary solution until proper 302 redirects are implemented in RtD.

@brannondorsey
Copy link
Member Author

I've temporarily enabled RtD builds on this branch to test. You can see this change in action by visiting:

http://sdk.runwayml.com/en/https-redirect/

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

Successfully merging this pull request may close these issues.

2 participants