Skip to content

Commit fb7fad4

Browse files
author
aozhuochao
committed
log_format main 'nginx-log-access
1 parent 7cc383c commit fb7fad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx-conf.d/lua.host.dir.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver 127.0.0.11;
33

44
# /etc/nginx/conf.d/lua.host.dir.conf
55

6-
log_format main 'nginx-log $remote_addr - $remote_user [$time_local] "$request" '
6+
log_format main 'nginx-log-access $remote_addr - $remote_user [$time_local] "$request" '
77
'$status $body_bytes_sent "$http_referer" '
88
'"$http_user_agent" "$host" "$upstream_addr"';
99

0 commit comments

Comments
 (0)