From 48d78a0299a128394b77a20df85217ac31dbace4 Mon Sep 17 00:00:00 2001 From: Shahe Islam Date: Wed, 15 Jan 2025 23:07:46 +0000 Subject: [PATCH] feat: Pointing AFTT apex domain to www --- .../workspace_variables/apply_production.tfvars.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/terraform/custom_domains/environment_domains/workspace_variables/apply_production.tfvars.json b/terraform/custom_domains/environment_domains/workspace_variables/apply_production.tfvars.json index 75db0b89246..d5fb65917db 100644 --- a/terraform/custom_domains/environment_domains/workspace_variables/apply_production.tfvars.json +++ b/terraform/custom_domains/environment_domains/workspace_variables/apply_production.tfvars.json @@ -16,7 +16,11 @@ ], "environment_short": "pd", "origin_hostname": "apply-production.teacherservices.cloud", - "null_host_header": true + "null_host_header": true, + "redirect_rules": [{ + "from-domain": "apex", + "to-domain": "www.apply-for-teacher-training.education.gov.uk" + }] }, "apply-for-teacher-training.service.gov.uk": { "front_door_name": "s189p01-apply-svc-domains-fd", @@ -29,7 +33,11 @@ ], "environment_short": "pd", "origin_hostname": "apply-production.teacherservices.cloud", - "null_host_header": true + "null_host_header": true, + "redirect_rules": [{ + "from-domain": "apex", + "to-domain": "www.apply-for-teacher-training.service.gov.uk" + }] } } }