How to add/remove web root for nginx?

How to add/remove web root for nginx?
There is a project on the server on which you installed the web server nginx.
You will tell me which services on the server can be users ?
For example, such as the root user from phpmyadmin ?
Thank you
July 2nd 19 at 18:12
2 answers
July 2nd 19 at 18:14
To edit paths, refer to nginx.conf depending on the OS distribution may be in /etc/nginx or /usr/local/etc/nginx
Pro users do not understand. All users are stored in /etc/passwd pok which user the service works is you need to see the configs of this service.
July 2nd 19 at 18:16
1. /etc/passwd ,but usually if the service is running under a web server,it is not present user.

Find more questions by tags NginxLinux