nginx配置修改不生效
来源:5-4 买家商品-api(下)
慕少5125093
2020-06-20
按照要求配置了config 并不能生效
本机http://192.168.2.107:8080/sell/buyer/product/list
虚拟机内能ping通,
已经nginx -s reload
依然无效,甚至systemctl status nginxd.service
后启动也不行,最后重新安装了一遍虚拟机,依然不可以。
求解一下原因?
写回答
1回答
-
慕少5125093
提问者
2020-06-20
???人生迷茫时刻?再一次尝试
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
他好了,我也好了 淦
012020-08-04
相似问题