mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 14:05:52 +03:00
[GH-ISSUE #79] white_url白名单日志问题 #56
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#56
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 @purplegrape on GitHub (Dec 20, 2021).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/79
amazon linux 2
nginx 1.20.2
ngx_http_waf 10.1.0
static 域名全站 access_log off ; 但waf url白名单中的 /robots.txt 依然打印在日志里。
2021/12/20 03:26:15 [alert] 14763#14763: *377 ngx_waf: [WHITE-URL][/robots.txt] while logging request, client: 172.31.29.8, server: static.example.com, request: "GET /robots.txt HTTP/1.1", host: "172.31.17.26"
@ADD-SP commented on GitHub (Dec 20, 2021):
access_log 指令并不能控制 ngx_waf 的日志打印,因为 ngx_waf 打印的属于错误日志。