mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 22:15:55 +03:00
[GH-ISSUE #42] nginx如果reload会重新读取规则吗 #160
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @opcache on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/42
文档里面说
https://add-sp.github.io/ngx_waf/zh-cn/guide/faq.html#post%E6%A3%80%E6%B5%8B%E5%A4%B1%E6%95%88
可以在运行时修改规则么?
不可以,本模块只会在 nginx 启动时读取规则,之后不再读取。
nginx 如果reload ,会重新读取规则吗?如果会文档建议改下
@ADD-SP commented on GitHub (May 26, 2021):
文档说的不太准确,本模块会在 nginx 读取配置时读取规则。reload 时 nginx 会重新读取配置,所以本模块也会重新读取规则。
文档将在近期更新。