From 67918166996f4ae34215fc1e6aacd61b46217a4d Mon Sep 17 00:00:00 2001 From: wy Date: Mon, 6 Jun 2022 16:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/nginx.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 79717c4..8012c78 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -48,11 +48,8 @@ http { stream { - log_format proxy '$remote_addr [$time_local]:$proxy_protocol_addr ' - '|$ssl_preread_server_name ' - '|$protocol |$status $bytes_sent $bytes_received ' - '|$session_time |"$upstream_addr" ' - '|"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"'; + log_format proxy '$time_iso8601|$remote_addr|$ssl_preread_server_name' + '|$bytes_received|$bytes_sent|$session_time'; access_log /www/wwwlogs/tcp-access.log proxy; open_log_file_cache off;