Skip to content

Commit 29dff09

Browse files
committed
feat: disable logging and enable tcp_nopush in nginx
1 parent 77f854f commit 29dff09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nginx/nginx.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ worker_processes auto;
33

44
http {
55
tcp_nodelay on;
6+
tcp_nopush on;
67
client_body_buffer_size 16k;
78
client_header_buffer_size 1k;
89
large_client_header_buffers 4 8k;
@@ -14,7 +15,7 @@ http {
1415
include /etc/nginx/mime.conf;
1516
include /etc/nginx/conf.d/*.conf;
1617

17-
access_log /dev/stdout;
18+
access_log off;
1819
error_log /dev/stderr;
1920
index index.html index.htm index.php;
2021

0 commit comments

Comments
 (0)