bundles/nginx: add anonymous timing logging for http requests
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
72d4826dbb
commit
db83b1614b
7 changed files with 216 additions and 0 deletions
|
@ -50,9 +50,12 @@ http {
|
|||
default 0.0.0.0;
|
||||
"~(?P<ip>.*)" $ip;
|
||||
}
|
||||
|
||||
log_format gdpr '$ip_anonymized - $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"<stripped>" "$http_user_agent"';
|
||||
|
||||
log_format anon_timing '[$time_local] $request_time $upstream_response_time "$request" $status';
|
||||
|
||||
include /etc/nginx/sites/*;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue