Skip to content

Commit

Permalink
Feat: add coraza as WAF engine
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqian Zou <[email protected]>
  • Loading branch information
zsq001 committed May 10, 2024
1 parent db4b1b6 commit a61f97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func nextHandle(w http.ResponseWriter, r *http.Request) {
}

func Start() {
http.HandleFunc("/", wafFilterHandle)
http.HandleFunc("/", handleRequest)
http.HandleFunc("/caswaf-handler", handleAuthCallback)

gatewayEnabled, err := beego.AppConfig.Bool("gatewayEnabled")
Expand Down

0 comments on commit a61f97e

Please sign in to comment.