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:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user