Skip to content

Commit

Permalink
test: add unix sock listen in preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Zhao committed Sep 6, 2023
1 parent 0376b9a commit 80ad672
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/plugin/chaitin-waf.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ add_block_preprocessor(sub {
server {
listen 8088;
listen 8089;
listen unix:/path/to/safeline/resources/detector/snserver.sock;
content_by_lua_block {
require("lib.chaitin_waf_server").pass()
}
Expand Down

0 comments on commit 80ad672

Please sign in to comment.