Skip to content

Commit

Permalink
Make access_log log once per request
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Oct 7, 2023
1 parent 3bb5bff commit 8fab39d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ upstream django {
}

server {
access_log /var/log/nginx/access.log json_combined;

listen 8080;
server_name _;
charset utf-8;
Expand Down

0 comments on commit 8fab39d

Please sign in to comment.