Skip to content

Commit

Permalink
Nginx: ensure we log accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Jul 3, 2024
1 parent 8527937 commit ea757d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ http {
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;

log_format main '$remote_addr "$request" $status $body_bytes_sent '
"$http_referer" "$http_user_agent" "$http_x_forwarded_for"';
# Performance
access_log off;
access_log /dev/stdout main;
tcp_nopush on;
tcp_nodelay on;
reset_timedout_connection on;
Expand Down

0 comments on commit ea757d4

Please sign in to comment.