Skip to content

Commit

Permalink
Fix usage examples in README. (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Pace <[email protected]>
  • Loading branch information
cthain and M4tteoP authored Jun 19, 2023
1 parent debcfa7 commit f5f890a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ In order to run the coraza-proxy-wasm we need to spin up an envoy configuration
"SecRule REQUEST_URI \"@streq /admin\" \"id:101,phase:1,t:lowercase,deny\""
]
},
"default_directives": "default",
"default_directives": "default"
}
vm_config:
runtime: "envoy.wasm.runtime.v8"
Expand All @@ -102,13 +102,14 @@ configuration:
{
"directives_map": {
"default": [
"Include @demo-conf",
"SecDebugLogLevel 9",
"SecRuleEngine On",
"Include @crs-setup-demo-conf",
"Include @owasp_crs/*.conf"
]
},
"default_directives": "default",
"default_directives": "default"
}
```

Expand All @@ -121,13 +122,14 @@ configuration:
{
"directives_map": {
"default": [
"Include @demo-conf",
"SecDebugLogLevel 9",
"SecRuleEngine On",
"Include @crs-setup-demo-conf",
"Include @owasp_crs/REQUEST-901-INITIALIZATION.conf"
]
},
"default_directives": "default",
"default_directives": "default"
}
```

Expand Down

0 comments on commit f5f890a

Please sign in to comment.