Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Apr 19, 2023
1 parent ee2de59 commit 5c74347
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/resources/ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,12 @@ resource "cloudflare_ruleset" "response_compress_brotli_html" {
rules {
action = "compress_response"
action_parameters {
algorithms = [ { name: "brotli" }, { name: "default" } ]
algorithms {
name = "brotli"
}
algorithms {
name = "default"
}
}
expression = "http.response.content_type.media_type == \"text/html\""
description = "Prefer brotli compression for HTML"
Expand Down
7 changes: 6 additions & 1 deletion examples/resources/cloudflare_ruleset/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,12 @@ resource "cloudflare_ruleset" "response_compress_brotli_html" {
rules {
action = "compress_response"
action_parameters {
algorithms = [ { name: "brotli" }, { name: "default" } ]
algorithms {
name = "brotli"
}
algorithms {
name = "default"
}
}
expression = "http.response.content_type.media_type == \"text/html\""
description = "Prefer brotli compression for HTML"
Expand Down

0 comments on commit 5c74347

Please sign in to comment.