今天服务器发生错误,导致无法访问
当我重启nginx服务时 发生错误
sudo systemctl restart nginx.service

随后我修改了配置文件 nginx.conf 改端口为 8080
之后报错消失 看起来一切正常


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

然后我把端口又了改了回来
访问正常
今天服务器发生错误,导致无法访问
当我重启nginx服务时 发生错误
sudo systemctl restart nginx.service

随后我修改了配置文件 nginx.conf 改端口为 8080
之后报错消失 看起来一切正常


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

然后我把端口又了改了回来
访问正常