[GH-ISSUE #133] waf_block_page 配置在 LTS 版本中不存在 #97

Open
opened 2026-03-04 12:18:54 +03:00 by kerem · 1 comment
Owner

Originally created by @devhaozi on GitHub (Dec 10, 2023).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/133

文档中提到了 waf_block_page 用于设置拦截页面,实际测试在 LTS 版本中使用会报错 nginx: [emerg] unknown directive "waf_block_page" in xxx.conf,翻了下源码,似乎只有 Current 版本才有这个配置,但是文档中没有注明。

image

Originally created by @devhaozi on GitHub (Dec 10, 2023). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/133 文档中提到了 `waf_block_page` 用于设置拦截页面,实际测试在 LTS 版本中使用会报错 `nginx: [emerg] unknown directive "waf_block_page" in xxx.conf`,翻了下源码,似乎只有 Current 版本才有这个配置,但是文档中没有注明。 ![image](https://github.com/ADD-SP/ngx_waf/assets/115467771/80994e7f-e57e-4bfc-9f49-0d7fe1177cf3)
Author
Owner

@ADD-SP commented on GitHub (Dec 16, 2023):

确实,好像忘记注明了。

<!-- gh-comment-id:1858775926 --> @ADD-SP commented on GitHub (Dec 16, 2023): 确实,好像忘记注明了。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ngx_waf#97
No description provided.