Skip to content

Commit c8fbfcb

Browse files
committed
serve site from www.nidirect.gov.uk
1 parent 02f44c1 commit c8fbfcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.platform/routes.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Each route describes how an incoming URL is going to be processed by Platform.sh.
2-
"https://{default}/":
2+
"https://www.{default}/":
33
type: upstream
44
upstream: "nidirect:http"
55
cache:
@@ -11,6 +11,6 @@
1111
regexp: true
1212
code: 301
1313

14-
"https://www.{default}/":
14+
"https://{default}/":
1515
type: redirect
16-
to: "https://{default}/"
16+
to: "https://www.{default}/"

0 commit comments

Comments
 (0)