Skip to content

Commit

Permalink
docs: fixes readme (envoyproxy#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs committed Oct 17, 2022
1 parent fa15683 commit d58426c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ In order to run the coraza-proxy-wasm we need to spin up an envoy configuration
"@type": "type.googleapis.com/google.protobuf.StringValue"
value: |
{
"rules": "SecDebugLogLevel 5 \nSecRuleEngine On \nSecRule REQUEST_URI \"@streq /admin\" \"id:101,phase:1,t:lowercase,deny\""
"rules": [
"SecDebugLogLevel 5",
"SecRuleEngine On",
"SecRule REQUEST_URI \"@streq /admin\" \"id:101,phase:1,t:lowercase,deny\""
]
}
vm_config:
runtime: "envoy.wasm.runtime.v8"
Expand All @@ -84,7 +88,7 @@ configuration:
"@type": "type.googleapis.com/google.protobuf.StringValue"
value: |
{
"rules": "SecDebugLogLevel 5 \nSecRuleEngine On \n Include crs/*.conf"
"rules": [ "SecDebugLogLevel 5", "SecRuleEngine On", "Include crs/*.conf" ]
}
```

Expand All @@ -95,7 +99,7 @@ configuration:
"@type": "type.googleapis.com/google.protobuf.StringValue"
value: |
{
"rules": "SecDebugLogLevel 5 \nSecRuleEngine On \n Include crs/REQUEST-901-INITIALIZATION.conf"
"rules": [ "SecDebugLogLevel 5", "SecRuleEngine On", "Include crs/REQUEST-901-INITIALIZATION.conf" ]
}
```

Expand Down

0 comments on commit d58426c

Please sign in to comment.