Skip to content

Commit e4f6cec

Browse files
committed
fix nginx to actually log to files.
1 parent e6cf30e commit e4f6cec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nginx/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ http {
1919
client_max_body_size 20M;
2020
include /etc/nginx/mime.types;
2121
default_type application/octet-stream;
22-
access_log /dev/stdout;
23-
error_log /dev/stderr;
22+
access_log /var/log/nginx/access.log;
23+
error_log /var/log/nginx/error.log;
2424
gzip on;
2525
gzip_disable "msie6";
2626
include /etc/nginx/conf.d/*.conf;

0 commit comments

Comments
 (0)