采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
按照要求配置了config 并不能生效 本机http://192.168.2.107:8080/sell/buyer/product/list 虚拟机内能ping通, 已经nginx -s reload依然无效,甚至systemctl status nginxd.service后启动也不行,最后重新安装了一遍虚拟机,依然不可以。 求解一下原因?
http://192.168.2.107:8080/sell/buyer/product/list
nginx -s reload
systemctl status nginxd.service
???人生迷茫时刻?再一次尝试
root@localhost conf]# systemctl stop nginxd.service [root@localhost conf]# systemctl status nginxd.service ● nginxd.service - nginx Loaded: loaded (/usr/lib/systemd/system/nginxd.service; enabled; vendor preset: disabled) Active: inactive (dead) since Sat 2020-06-20 15:02:15 UTC; 2s ago Process: 2460 ExecStop=/usr/local/nginx/sbin/nginx -s stop (code=exited, status=0/SUCCESS) Process: 949 ExecStart=/usr/local/nginx/sbin/nginx (code=exited, status=0/SUCCESS) Main PID: 968 (code=exited, status=0/SUCCESS) Jun 20 14:43:15 localhost.localdomain systemd[1]: Starting nginx... Jun 20 14:43:15 localhost.localdomain systemd[1]: Started nginx. Jun 20 15:02:15 localhost.localdomain systemd[1]: Stopping nginx... Jun 20 15:02:15 localhost.localdomain systemd[1]: Stopped nginx. [root@localhost conf]# systemctl start nginxd.service
他好了,我也好了 淦
我的配置nginx配置也改了,也重启了nginx,但是仍然还是访问了虚拟机的ip服务,,,,,按照楼主的方式 systemctl stop nginxd.service systemctl status nginxd.service systemctl start nginxd.service 还是不行哦?咋办
登录后可查看更多问答,登录/注册
从0到1开发中小型企业级Java应用,并学会迭代重构技巧
7.2k 10
3.1k 4
6.5k 9
1.8k 32
3.8k 26