From 0a8ea69af0ea6c7a7e602a0c30be6f820c02de54 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Sat, 7 Oct 2023 14:22:30 +0300 Subject: [PATCH] Make access_log log once per request --- api/nginx.conf.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/nginx.conf.template b/api/nginx.conf.template index 44bbc131a1c..a9edeb391d3 100644 --- a/api/nginx.conf.template +++ b/api/nginx.conf.template @@ -42,6 +42,8 @@ upstream django { } server { + access_log /var/log/nginx/access.log json_combined; + listen 8080; server_name _; charset utf-8;