This is a website with information about CJSM, for users and organisation admins, including training materials for Webmail users. For more about CJSM, see CJSM Wiki and CJSM Technical Architecture
It is a static site, hosted on GitHub Pages. It is publicly accessible at: https://cjsm.justice.gov.uk/. The site has always been public, and contains nothing sensitive.
For friendly instructions for editing this site in GitHub, see: Editing the microsite
Changes merged to the main
branch get automatically deployed.
To review changes as they will look in a browser, if you have the files on your local disk you can point your browser at the file themselves. (Alternatively we could set-up a fork of this repo, with a 'test' branch that is deployed to GitHub Pages at say dev.cjsm.justice.gov.uk, that could be used for reviewing changes.)
2011/5 Site appears to be accessible at http://cjsm.justice.gov.uk/ as captured by Wayback Machine - maybe this is the birth of the site
2014/2 PHP site was flattened into a static site, re-hosted on S3+CloudFront, in the DSD AWS account 880656497252, bucket "cjsm.justice.gov.uk". The files were into copied into GitHub https://github.com/ministryofjustice/CJSM-2014/ but without CI/CD that became out of date, and the repo was archived (some time before 2021/12). There were two web forms for contacting CJSM that POSTed to http://cjsm.dsd.io/contact/enquiries.php, which must have stopped working around then, when the PHP site was decommissioned. Around this time the trainig videos were converted from Flash to MP4.
2022/1 DR copied the site's files from S3 into a fresh GitHub repo https://github.com/ministryofjustice/cjsm to make it more available to CJSM team for edit. Hosted now on GitHub Pages. The www.cjsm.justice.gov.uk domain no longer serves the site - instead it redirects to cjsm.justice.gov.uk, using a Cloud Platform ingress rule.
This repo is served by GitHub Pages, at https://ministryofjustice.github.io/cjsm
Other ways were considered for hosting:
Until 2022, both cjsm.justice.gov.uk and www.cjsm.justice.gov.uk served this site. GitHub Pages only serves on one domain, so for simplicity we'll just pick one and redirect from the other. Google Search regards the former as canonical, it was decided to redirect from www.cjsm.justice.gov.uk to cjsm.justice.gov.uk.
The redirect is achieved with a Cloud Platform ingress annotation. This provides an 30X redirect, and CP keeps the TLS cert updated.
Other ways to redirect that were considered:
The redirect is hosted on Cloud Platform in namespace cjsm-prod
, with cjsm-dev
as the dev mirror.
The k8s resources are defined in deploy. These are deployed manually:
kubectl apply -f dev/cert.yaml
kubectl apply -f dev/ingress-redirect.yaml
kubectl apply -f prod/cert.yaml
kubectl apply -f prod/ingress-redirect.yaml
(Since DSD account is deprecated, we should probably move this Hosted Zone into Cloud Platform too)
There are old snapshots of this site, from 2015-2022/1 in S3 buckets in DSD account:
These could be cleared out at some point.