remove heartbeat log
This commit is contained in:
@@ -25,7 +25,13 @@ http {
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /data/log/nginx_access.log main;
|
||||
map $request $loggable {
|
||||
default 1;
|
||||
"~*^POST /api/judge_server_heartbeat/ HTTP/1\.1$" 0;
|
||||
}
|
||||
|
||||
access_log /data/log/nginx_access.log main if=$loggable;
|
||||
# access_log off;
|
||||
|
||||
upstream backend {
|
||||
server 127.0.0.1:8080;
|
||||
|
||||
Reference in New Issue
Block a user