From 4f4c04b46e14fc38a0dba4767eb790fa6ff19c0b Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Sun, 23 Oct 2022 14:32:40 +0300 Subject: [PATCH] [~] Refactor --- d1/nginx_config.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/d1/nginx_config.py b/d1/nginx_config.py index d2f13d7..5db195d 100644 --- a/d1/nginx_config.py +++ b/d1/nginx_config.py @@ -38,6 +38,15 @@ events { } http { + log_format main + '[$time_local][$remote_addr, $http_x_forwarded_for]' + '[$request_length,$bytes_sent,$request_time]' + '[$status][$request]' + '[$http_user_agent][$http_referer]'; + + access_log /dev/null combined; + access_log /dev/stderr main; + server { listen 80; client_max_body_size 50M;