Skip to content

Commit

Permalink
🐛 Missing access logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADD-SP committed Jun 11, 2021
1 parent 6fd1329 commit bb92297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/ngx_http_waf_module_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ static void ngx_http_waf_handler_check_black_post(ngx_http_request_t* r) {
ngx_http_core_run_phases(r);
} else {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, "ngx_waf: [%s][%s]", ctx->rule_type, ctx->rule_deatils);
ngx_http_finalize_request(r, NGX_DONE);
ngx_http_finalize_request(r, srv_conf->waf_http_status);
}
}
Expand Down

0 comments on commit bb92297

Please sign in to comment.