I used Lighthttp before, and the test can reach 80MB/s traffic
But after changing to Nginx, it died at 20MB/s. . . What a tragedy. . .
The files I want to download are usually between 2MB and 10MB. I haven’t changed any special configuration of Nginx and just installed the default one.
How to optimize this kind of download service?
迷茫2017-05-16 17:32:04
Try to enable sendfile:
sendfile on; sendfile_max_chunk 256K;
http://wiki.nginx.org/HttpCoreModule#...