安装
sudo apt install nginx
卸载
sudo apt-get remove nginx
sudo apt-get purge nginx
rm -rf /etc/nginx
sudo apt-get autoremove
安装
sudo apt install nginx
卸载
sudo apt-get remove nginx
sudo apt-get purge nginx
rm -rf /etc/nginx
sudo apt-get autoremove