Skip to content

Commit

Permalink
Temp enable 2xx and 3xx logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent ef404e5 commit 8aab2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ http {
'"$http_referer" "$http_user_agent"';

map $status $loggable {
~^[23] 0;
~^[23] 1;
default 1;
}
access_log /var/log/nginx/access.log main if=$loggable;
Expand Down

0 comments on commit 8aab2f4

Please sign in to comment.