Restarting the server, accessing the Web service discovery is unable to browse! Go to Nginx after landing server to use./nginx-s Reload read the configuration file again and found that the report nginx: [ERROR] Open () "/usr/local/nginx/logs/ Nginx.pid "failed (2:no such file or directory) error, go to logs files found no Nginx.pid file
[Root@localhost sbin]#./nginx-s Reload
Nginx: [ERROR] Open () "/usr/local/nginx/logs/nginx.pid" failed (2:no such file or directory)
Workaround:
[Root@localhost nginx]#/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf
Specify the location of the nginx.conf file using the nginx-c parameters
[Root@localhost nginx]# CD logs/
[Root@localhost logs]# LL
Total Dosage 12
-rw-r--r--1 root 1246 December 9 18:10 Access.log
-rw-r--r--1 root root 516 December 15:39 Error.log
-rw-r--r--1 root root 5 December 15:38 nginx.pid
Look at the Nginx.pid file already.