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!
This commit is contained in:
2018-04-13 13:38:34 +02:00
committed by GitHub
parent 66ba82cf92
commit 11bb4d8cf3
+1 -1
View File
@@ -1,7 +1,7 @@
# Suggestions? => https://github.com/theraw/The-World-Is-Yours/issues # Suggestions? => https://github.com/theraw/The-World-Is-Yours/issues
# Problems? => 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 # Errors? => https://github.com/theraw/The-World-Is-Yours/issues
user root; user nginx;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
worker_processes auto; worker_processes auto;
worker_rlimit_nofile 65535; worker_rlimit_nofile 65535;