From 732dd4ce00f7805c33e1d4bf6c1553240ce56ef1 Mon Sep 17 00:00:00 2001 From: Samer Ali Date: Fri, 30 Dec 2016 18:22:42 +0200 Subject: [PATCH] nginx updates for user and sendfile --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 007be82..fcab45f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,4 +1,4 @@ -user nginx; +user root; worker_processes 1; error_log /proc/self/fd/2; pid /var/run/nginx.pid; @@ -18,7 +18,7 @@ http { access_log /proc/self/fd/2; port_in_redirect off; send_timeout 600; - sendfile on; + sendfile off; client_body_timeout 600; client_header_timeout 600; client_max_body_size 256M;