Skip to content

Commit

Permalink
update due to new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Deutsche Telekom MMS committed Mar 14, 2024
1 parent 70ee5e4 commit aea7e5d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@

- https://github.com/telekom-mms/terraform-azurerm-cdn/issues/13 [\#15](https://github.com/telekom-mms/terraform-azurerm-cdn/pull/15) ([michaelamattes](https://github.com/michaelamattes))

**Closed issues:**

- Dependency Dashboard [\#5](https://github.com/telekom-mms/terraform-azurerm-cdn/issues/5)

## [2.0.0](https://github.com/telekom-mms/terraform-azurerm-cdn/tree/2.0.0) (2023-09-13)

[Full Changelog](https://github.com/telekom-mms/terraform-azurerm-cdn/compare/1.0.1...2.0.0)
Expand Down
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module "cdn" {
cdn_frontdoor_origin = {
non-backend = {
cdn_frontdoor_origin_group_id = module.cdn.cdn_frontdoor_origin_group["non-backend"].id
host_name = "0.0.0.0"
host_name = "127.0.0.0"
}
}
cdn_frontdoor_endpoint = {
Expand Down Expand Up @@ -154,7 +154,7 @@ module "cdn" {
cdn_frontdoor_rule_set_id = module.cdn.cdn_frontdoor_rule_set["nonbackend"].id
order = 0
actions = {
url_redirect_action = {
leadingDomain = {
destination_hostname = "www.telekom-mms.com"
}
}
Expand Down Expand Up @@ -298,14 +298,30 @@ module "cdn" {
order = 0
actions = {
url_redirect_action = {
destination_hostname = "www.telekom-mms.com"
leadingDomain = {
destination_hostname = "www.telekom-mms.com"
}
}
response_header_action = {
Content-Security-Policy = {
header_action = "Append"
header_name = "Content-Security-Policy"
value = "frame-ancestors 'self'"
}
X-Content-Type-Options = {
header_action = "Append"
header_name = "X-Content-Type-Options"
value = "nosniff"
}
}
}
conditions = {
request_header_condition = {
header_name = "Host"
match_values = ["telekom-mms.com"]
operator = "Equal"
Host = {
header_name = "Host"
match_values = ["telekom-mms.com"]
operator = "Equal"
}
}
}
}
Expand Down

0 comments on commit aea7e5d

Please sign in to comment.