Skip to content

Commit 002c186

Browse files
Merge pull request #1 from zentinelproxy/fix/readme-zentinel-config-syntax
fix(docs): correct zentinel config syntax in README
2 parents e13677f + 2427339 commit 002c186

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,8 @@ function on_response_headers(response) {
241241
agents {
242242
agent "js" {
243243
type "custom"
244-
transport "unix_socket" {
245-
path "/var/run/zentinel/js.sock"
246-
}
247-
events ["request_headers", "response_headers"]
244+
unix-socket "/var/run/zentinel/js.sock"
245+
events "request_headers" "response_headers"
248246
timeout-ms 100
249247
failure-mode "open"
250248
}

0 commit comments

Comments
 (0)