Skip to content

Commit

Permalink
Add Force TLS request setting for DGU
Browse files Browse the repository at this point in the history
  • Loading branch information
AgaDufrat committed Jan 26, 2024
1 parent c726670 commit 005a0f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/datagovuk/service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ resource "fastly_service_vcl" "service" {
response_condition = "${local.template_values["environment"]}.data.gov.uk to www.${local.template_values["environment"]}.data.gov.uk redirect response condition"
}

request_setting {
name = "Force TLS"
force_ssl = true
}

dynamic "logging_splunk" {
for_each = {
for splunk in lookup(var.secrets, "splunk", []) : splunk.name => splunk
Expand Down

0 comments on commit 005a0f0

Please sign in to comment.