Specific method:
(Recommended tutorial: nginx tutorial)
1. Enter the following command to globally search for nginx related File:
sudo find / -name nginx*
2. Delete all nginx related files found
sudo rm -rf file 此处跟查找出来的nginx文件
Description: Global search will often find many related files, but the prefixes are basically the same, and different parts can be used later. Replace with * for quick deletion~
Example:
sudo rm -rf file /usr/local/nginx*
The above is the detailed content of How to completely uninstall nginx. For more information, please follow other related articles on the PHP Chinese website!