diff --git a/domains/environment_domains/front_door_security_rules.tf b/domains/environment_domains/front_door_security_rules.tf index 26dbb59..73a08f3 100644 --- a/domains/environment_domains/front_door_security_rules.tf +++ b/domains/environment_domains/front_door_security_rules.tf @@ -16,7 +16,7 @@ resource "azurerm_cdn_frontdoor_rule" "security_txt" { conditions { url_path_condition { operator = "BeginsWith" - match_values = ["/.well-known/security.txt", "/security.txt"] + match_values = [".well-known/security.txt", "security.txt"] transforms = ["Lowercase"] } } @@ -43,7 +43,7 @@ resource "azurerm_cdn_frontdoor_rule" "thanks_txt" { conditions { url_path_condition { operator = "BeginsWith" - match_values = ["/.well-known/thanks.txt", "/thanks.txt"] + match_values = [".well-known/thanks.txt", "thanks.txt"] transforms = ["Lowercase"] } }