Skip to content

Commit

Permalink
Merge pull request #26 from quantcdn/steveworley-patch-1
Browse files Browse the repository at this point in the history
Update rule_proxy.md
  • Loading branch information
steveworley authored Dec 10, 2024
2 parents e8375f2 + 162b9fa commit d163f62
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions docs/resources/rule_proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@ Manages a Quant proxy rule.

```hcl
resource "quant_rule_proxy" "test" {
name = "test-rule"
project = "default"
domain = ["example.com"]
to = "https://backend.example.com"
host = "backend.example.com"
name = "test-proxy"
project = quant_project.test.machine_name
domain = ["any"]
url = ["/proxy"]
proxy = {
to = "https://backend.example.com"
host = "backend.example.com"
}
waf_enabled = true
waf_config {
mode = "report"
waf_config = {
mode = "report"
paranoia_level = 1
allow_rules = []
block_ip = []
block_ua = []
block_referer = []
notify_email = []
httpbl {
allow_rules = []
block_ip = []
block_ua = []
block_referer = []
notify_email = []
httpbl = {
enabled = false
}
}
Expand Down

0 comments on commit d163f62

Please sign in to comment.