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

Move hosting to MOJ Cloud Platform #548

Open
4 tasks
gregtyler opened this issue Dec 27, 2023 · 0 comments
Open
4 tasks

Move hosting to MOJ Cloud Platform #548

gregtyler opened this issue Dec 27, 2023 · 0 comments

Comments

@gregtyler
Copy link
Contributor

Problem

We currently host our documentation GitHub Pages. This is an easy host to use, but it doesn't support redirects when we move or rename pages, which is an important requirement going forward.

We already use MOJ Cloud Platform to host the staging version of the site, so know that it could also host the production version and—as it allows us to configure nginx—can support redirects.

Steps

  • Update the main pipeline to deploy to our production Cloud Platform subdomain (currently unused)
  • Add 301 redirects to our nginx configuration for pages that we know to have moved (search redirect_from)
  • Update the DNS for design-patterns.service.justice.gov.uk to point to Cloud Platform
  • Stop deploying to GitHub Pages
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

No branches or pull requests

1 participant