Nginx_入门
nginx及其模块的工作方式在配置文件中确定。默认情况下,配置文件名为
nginx.conf,并放置在目录/usr/local/nginx/conf、/etc/nginx或/usr/local/etc/nginx中in this case a signal is sent directly to a process with a given process ID. The process ID of the nginx master process is written, by default, to the
nginx.pidin the directory/usr/local/nginx/logsor/var/run. For example, if the master process ID is 1628, to send the QUIT signal resulting in nginx’s graceful shutdown, execute: