Skip to content

Commit

Permalink
2046-setup-redirect-from-get-a-teacher-relocation-payment (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake authored Sep 19, 2024
1 parent dcae40d commit 583cf0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
],
"environment_short": "pd",
"origin_hostname": "teacher-relocation-payment-production.teacherservices.cloud",
"null_host_header": true,
"redirect_rules":[{
"from-domain": "apex",
"to-domain": "getintoteaching.education.gov.uk",
"to-path": "/non-uk-teachers/get-an-international-relocation-payment"
}],
"cnames": {
}
}
Expand Down
1 change: 1 addition & 0 deletions terraform/custom_domains/environment_domains/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module "domains" {
host_name = each.value.origin_hostname
null_host_header = try(each.value.null_host_header, false)
cached_paths = try(each.value.cached_paths, [])
redirect_rules = try(each.value.redirect_rules, [])
}

# Takes values from hosted_zone.domain_name.cnames (or txt_records, a-records). Use for domains which are not associated with front door.
Expand Down

0 comments on commit 583cf0b

Please sign in to comment.