增加waf模块

This commit is contained in:
qing committed 2026-07-25 01:27:08 +08:00
1 parent fbccc5d909
commit 202f2804b2
22 files changed
+1097 -17

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# WAF 配置文件
listen: ":443"
tls_cert: "./certs/full_chain.crt"
tls_key: "./certs/server.key"
# gateway 内部 HTTP 端口(gateway 需改为监听 127.0.0.1:8443 不启用 TLS)
upstream: "http://127.0.0.1:8443"
# 规则根目录,主入口为 <rules_dir>/waf.conf
rules_dir: "./rules"