Skip to content

Commit 8fbb5db

Browse files
author
aozhuochao
committed
log
1 parent fee6d8f commit 8fbb5db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
resolver 127.0.0.11 1.1.1.1;
22
# /etc/nginx/conf.d/lua.host.dir.conf
33

4+
log_format main 'nginx-log $remote_addr - $remote_user [$time_local] "$request" '
5+
'$status $body_bytes_sent "$http_referer" '
6+
'"$http_user_agent" "$host" "$upstream_addr"';
7+
8+
access_log logs/access.log main;
49

510
# thinkphp专用
611
server{

0 commit comments

Comments
 (0)