11 lines
298 B
YAML
11 lines
298 B
YAML
# 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"
|