From ea868d9f4fb1c3ad14fe752b66f66cfd0ef38465 Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Mon, 27 Nov 2023 14:51:50 +0100 Subject: [PATCH] fix proxy config --- storage/app/nginx/nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/app/nginx/nginx.conf b/storage/app/nginx/nginx.conf index baf8f12..d092bcc 100644 --- a/storage/app/nginx/nginx.conf +++ b/storage/app/nginx/nginx.conf @@ -18,9 +18,10 @@ http { default_type application/octet-stream; - log_format main '$remote_addr - $remote_user [$time_local] "$host" - "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" $request_time'; + log_format main '[$time_local] $remote_addr >> ($host) $server_name >> $upstream_addr # "$request" ' + '$status # referer: $http_referer ' + '# user agent: $http_user_agent ' + '# $body_bytes_sent bytes $request_time' seconds; access_log /var/log/nginx/access.log main;