Finding the location of nginx on Linux
It is possible to use
ps -ef|grep nginx
Linux Finds and Starts nginx
The nginx configuration is placed in the file
Generally we can use the following command to view the files present in the server
locate
- maybe
ps aux|grep nginx
Get the path and go to the sbin directory
-
./nginx
activate (a plan) -
pkill -9 nginx
forcible stop -
./nginx -s reload
reopen
summarize
The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.