Skip to content

Commit

Permalink
GCLOUD2-8378 interface naming (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexk53 authored Sep 10, 2024
1 parent bcefee3 commit 1c2f794
Show file tree
Hide file tree
Showing 20 changed files with 2,106 additions and 129 deletions.
8 changes: 7 additions & 1 deletion docs/resources/cdn_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ resource "gcore_cdn_resource" "cdn_example_com" {
secondary_hostnames = ["cdn2.example.com"]
options {
fastedge {
on_request_headers {
enabled = true
app_id = "1001"
interrupt_on_error = true
}
}
edge_cache_settings {
default = "8d"
}
Expand All @@ -58,7 +65,6 @@ resource "gcore_cdn_resource" "cdn_example_com" {
rewrite {
body = "/(.*) /$1"
}
tls_versions {
enabled = true
value = [
Expand Down
7 changes: 7 additions & 0 deletions docs/resources/cdn_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ resource "gcore_cdn_rule" "cdn_example_com_rule_3" {
origin_protocol = "HTTP"
options {
fastedge {
on_request_headers {
enabled = true
app_id = "1001"
interrupt_on_error = true
}
}
force_return {
code = 404
body = "Not found."
Expand Down
Loading

0 comments on commit 1c2f794

Please sign in to comment.