服务器报错解决

今天服务器发生错误,导致无法访问

当我重启nginx服务时 发生错误

sudo systemctl restart nginx.service

img

随后我修改了配置文件 nginx.conf 改端口为 8080

之后报错消失 看起来一切正常

img

img

奇怪的是,查看 80 端口 却为空

img

然后我把端口又了改了回来

访问正常

posted @ 2023-07-06 19:27  清澈的澈  阅读(16)  评论(0编辑  收藏  举报