Ubuntu 卸载 nginx 并重新安装,


最近在修改nginx的时候遇到了问题,需要重新配置nginx服务;具体流程如下:

sudo apt-get purge nginx nginx-common # 卸载nginx,包括删除配置文件。
apt install nginx

保持更新,转载请注明出处,更多内容请关注cnblogs.com/xuyaowen;

其他nginx 文档:

https://www.cnblogs.com/xuyaowen/p/nginx-location.html 

https://www.cnblogs.com/xuyaowen/p/local-centos-mirror.html

https://www.cnblogs.com/xuyaowen/p/nginx-to-fileserver.html 

 

相关内容

    暂无相关文章