Answer the question
In order to leave comments, you need to log in
How to change the user under which nginx is running?
There is a need to give statics from the /var/lib/tomcat7/webapps/ folder, while leaving the host locale to be able to knock on this folder through tomcat. To do this, I registered in /etc/nginx.conf the user under which its processes will run
user tomcat7 tomcat7;
worker_processes 4;
pid /run/nginx.pid
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question