From 11bb4d8cf3539567a508cfcad3d1da6355ef647e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Fri, 13 Apr 2018 13:38:34 +0200 Subject: [PATCH] change nginx user "root" handle alot of things. so because of general linux system limits nginx will run faster if you use a custom user just for nginx! --- static/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/nginx.conf b/static/nginx.conf index 3f05cec..2abcbda 100644 --- a/static/nginx.conf +++ b/static/nginx.conf @@ -1,7 +1,7 @@ # Suggestions? => https://github.com/theraw/The-World-Is-Yours/issues # Problems? => https://github.com/theraw/The-World-Is-Yours/issues # Errors? => https://github.com/theraw/The-World-Is-Yours/issues -user root; +user nginx; pid /var/run/nginx.pid; worker_processes auto; worker_rlimit_nofile 65535;