Skip to content

Commit

Permalink
modify TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
vislee committed May 1, 2018
1 parent 0f6b4b1 commit 765e1d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Table of Contents
* [security_waf](#security_waf)
* [security_check](#security_check)
* [security_log](#security_log)
* [New match strategy](#new-matching-strategy)
* [New match strategy](#new-match-strategy)
* [Author](#author)
* [Copyright and License](#copyright-and-license)
* [See Also](#see-also)
Expand Down Expand Up @@ -209,17 +209,18 @@ security_log

**context:** *location*

The matching rules of logs.

[Back to TOC](#table-of-contents)


New match strategy
===========

If you want to expand `match-strategy`. Only need to define two function.

If you want to expand `match-strategy`. Only need to implement two function:
The function of parse directive and The matching-strategy callback function.

And then the parse function registered into the array of ngx_http_waf_rule_parser_item.
And then the parse directive function registered into the array of `ngx_http_waf_rule_parser_item`.

For example, the `libinj:xss` and `libinj:sql` expand.

Expand Down

0 comments on commit 765e1d6

Please sign in to comment.