Fix nginx log
This commit is contained in:
parent
dd3eda64f4
commit
35be49e46f
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,6 @@ user nginx;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
|
|
||||||
error_log /var/log/nginx/error.log warn;
|
error_log /var/log/nginx/error.log warn;
|
||||||
access_log off;
|
|
||||||
|
|
||||||
pid /var/run/nginx.pid;
|
pid /var/run/nginx.pid;
|
||||||
|
|
||||||
|
|
@ -15,6 +14,8 @@ http {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
|
access_log off;
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
sendfile_max_chunk 1m;
|
sendfile_max_chunk 1m;
|
||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue