增加waf模块
This commit is contained in:
1 parent
fbccc5d909
commit
202f2804b2
22 files changed
+1097
-17
No files matched your search
+6
-2
@@ -1,6 +1,10 @@
|
||||
[Server]
|
||||
address = 0.0.0.0
|
||||
port = 443
|
||||
# 当 WAF 在前面终止 TLS 时,gateway 退化为内部 HTTP 服务:
|
||||
# - tls = off 启用 HTTP 模式(配合 waf 模块使用)
|
||||
# - tls = on 启用 HTTPS 模式(独立部署,证书为 full_chain.crt / server.key)
|
||||
address = 127.0.0.1
|
||||
port = 8443
|
||||
tls = off
|
||||
|
||||
[Proxy]
|
||||
default = http://127.0.0.1:9200
|
||||
|
||||
Reference in new issue
Block a user