mirror of
https://github.com/omaha-consulting/winget.pro.git
synced 2026-10-24 21:02:23 +00:00
Log request time in Nginx access logs
This commit is contained in:
+6
-1
@@ -20,13 +20,18 @@ server {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
log_format combined_timed '$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'$request_time';
|
||||
|
||||
server {
|
||||
include includes/ssl;
|
||||
include includes/server-name;
|
||||
|
||||
client_max_body_size 4096m;
|
||||
|
||||
access_log /var/log/nginx-access.log;
|
||||
access_log /var/log/nginx-access.log combined_timed;
|
||||
error_log /var/log/nginx-error.log;
|
||||
|
||||
location /static/ {
|
||||
|
||||
Reference in New Issue
Block a user