roles/nginx: Add comment for sendfile option

From: https://github.com/h5bp/server-configs-nginx/blob/master/nginx.conf

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2016-03-12 19:27:56 +02:00
parent 89bee2e6db
commit 250b196bf8
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -23,6 +23,11 @@ http {
access_log off;
# Speed up file transfers by using sendfile() to copy directly
# between descriptors rather than using read()/write().
# For performance reasons, on FreeBSD systems w/ ZFS
# this option should be disabled as ZFS's ARC caches
# frequently used files in RAM by default.
sendfile on;
#tcp_nopush on;