Skip to content

Commit 17c9dc8

Browse files
authored
Update lua.host.dir.conf access_log
1 parent 7d28c48 commit 17c9dc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ resolver 127.0.0.11;
33

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

6-
log_format main 'nginx-log-access $remote_addr - $remote_user [$time_local] "$request" '
6+
log_format main_local '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

10-
access_log logs/access.log main;
10+
access_log logs/access.log main_local;
1111

1212
# thinkphp专用
1313
server{

0 commit comments

Comments
 (0)