Skip to content

Commit 9a22cef

Browse files
author
Matheus Politano
committed
chore: add doc
1 parent 618c3a2 commit 9a22cef

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/resources/cdn_distribution.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,24 @@ resource "stackit_cdn_distribution" "example_bucket_distribution" {
5656
optimizer = {
5757
enabled = false
5858
}
59+
60+
redirects = {
61+
rules = [
62+
{
63+
description = "test redirect"
64+
enabled = true
65+
rule_match_condition = "ANY"
66+
status_code = 302
67+
target_url = "https://stackit.de/"
68+
matchers = [
69+
{
70+
values = ["*/otherPath/"]
71+
value_match_condition = "ANY"
72+
}
73+
]
74+
}
75+
]
76+
}
5977
}
6078
}
6179

0 commit comments

Comments
 (0)