From 162b9fae2ceee64459788e4ef277c6b8a4fea8ce Mon Sep 17 00:00:00 2001 From: Steve Worley Date: Tue, 10 Dec 2024 13:24:27 +1000 Subject: [PATCH] Update rule_proxy.md --- docs/resources/rule_proxy.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/docs/resources/rule_proxy.md b/docs/resources/rule_proxy.md index 64e9fb4..f593b9e 100644 --- a/docs/resources/rule_proxy.md +++ b/docs/resources/rule_proxy.md @@ -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 } }