From a61f97ed0cd4f75b470bfe1228d891e9d6980787 Mon Sep 17 00:00:00 2001 From: Shengqian Zou Date: Fri, 10 May 2024 01:55:21 +0800 Subject: [PATCH] Feat: add coraza as WAF engine Signed-off-by: Shengqian Zou --- service/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/proxy.go b/service/proxy.go index 595d8fe..24b92f8 100644 --- a/service/proxy.go +++ b/service/proxy.go @@ -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")