Beginner’s Guide http://nginx.org/en/docs/beginners_guide.html
The process ID of the nginx master process is written, by default, to the nginx.pid in the directory /usr/local/nginx/logs or /var/run.
1. place
By default, the configuration file is named nginx.conf and placed in the directory
- /usr/local/nginx/conf, /etc/nginx, or /usr/local/etc/nginx.
https://www.nginx.com/resources/wiki/start/topics/examples/full/
https://www.nginx.com/resources/wiki/start/topics/examples/full/#nginx-conf
2. base
/etc/nginx/nginx.conf
- -c file Use an alternative configuration file.