mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 14:05:52 +03:00
[GH-ISSUE #114] modsecurity不能使用waf_block_page配置的拦截返回页面 #86
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#86
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 @gongwenbin on GitHub (Oct 31, 2022).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/114
ngx_waf版本:current
nginx -V:--with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-stream --with-pcre --add-dynamic-module=/usr/local/src/ngx_waf --with-compat --with-cc-opt=-std=gnu99
modsecurity不能使用waf_block_page配置的拦截返回页面,默认使用nginx的403页面。
请问这个是否有方法可以使用自定义页面?
waf_action blacklist=403 cc_deny=403 modsecurity=403 verify_bot=403;
将modsecurity配置为403,而不使用fllow时,可以使用自定义返回页面, 但不知道这个有什么后果
@stale[bot] commented on GitHub (Nov 7, 2022):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
此 issue 因为最近没有任何活动已经被标记,如果在此之后的一段时间内仍没有任何活动则会被关闭。感谢您对项目的支持。