From 41b064c1e3f58c8262787003ed80c83f12e307a8 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Fri, 7 Jul 2023 23:54:21 +0100 Subject: [PATCH] remove useless things from the log and clean it up --- docker/nginx.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 69bbfe1..df0dc49 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -4,9 +4,7 @@ events { http { # Log format - log_format main '[$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; + log_format main '[$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'; access_log /dev/stdout main; # Log access to stdout error_log /dev/stdout; # Log errors to stdout