logs下创建pid文件
https://www.cnblogs.com/codingcloud/p/5095066.html
[root@iZbp1aed32ln6eZ local]# cd nginx [root@iZbp1aed32ln6eZ nginx]# sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf [root@iZbp1aed32ln6eZ nginx]# ls client_body_temp conf fastcgi_temp html logs proxy_temp sbin scgi_temp uwsgi_temp [root@iZbp1aed32ln6eZ nginx]# cd logs [root@iZbp1aed32ln6eZ logs]# ls access.log error.log nginx.pid [root@iZbp1aed32ln6eZ logs]# cd .. [root@iZbp1aed32ln6eZ nginx]# ls client_body_temp conf fastcgi_temp html logs proxy_temp sbin scgi_temp uwsgi_temp [root@iZbp1aed32ln6eZ nginx]# cd sbin [root@iZbp1aed32ln6eZ sbin]#