Skip to content

Commit 29d73f0

Browse files
chore: exclude timestamp from nginx
1 parent e3e86c8 commit 29d73f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nginx/default.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ http {
1414

1515
server_tokens off;
1616

17-
log_format main '[$time_local] "$request" '
18-
'$status $body_bytes_sent "$http_referer" '
19-
'"$http_x_forwarded_for"';
17+
log_format main '"$request" $status $body_bytes_sent "$http_referer" "$http_x_forwarded_for"';
2018
access_log /var/log/nginx/access.log main;
2119

2220
sendfile on;

0 commit comments

Comments
 (0)