Skip to content

Commit 4b3470d

Browse files
authored
Change the loging files
1 parent 195a4f9 commit 4b3470d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ worker_processes 2;
55
error_log logs/error.log debug;
66
#error_log logs/error.log notice;
77
#error_log logs/error.log info;
8+
access_log logs/access.log;
89

910
#pid logs/nginx.pid;
1011

@@ -13,8 +14,8 @@ events {
1314
}
1415

1516
http {
16-
access_log /dev/stdout;
17-
error_log /dev/stdout;
17+
access_log logs/access_http.log;
18+
error_log logs/error_http.log;
1819

1920
include mime.types;
2021
default_type application/octet-stream;

0 commit comments

Comments
 (0)