+-

我使用brew uninstall nginx从brew中卸载了nginx,但是当我转到http:// localhost:8080时,我仍然收到“Welcome to Nginx”消息.
我已经做了什么:
>重启我的电脑(3次)
>使用rm -rf /usr/local/etc / nginx删除了额外的nginx文件夹
>使用sudo find / -name“nginx”从根文件夹到处寻找nginx.什么都没有出现.
>在/ Library / LaunchAgents /和〜/ Library / LaunchAgents /中寻找nginx .plist文件,但没有.
我在macos High Sierra.
谢谢!
最佳答案
使用–force标志.
brew uninstall nginx nginx-common --force
点击查看更多相关文章
转载注明原文:nginx卸载后,localhost:8080仍显示nginx欢迎页面 - 乐贴网