我使用nginx在vm中的Ubuntu服务器20.04上安装了WordPress。很好,但是当我重新启动Ubuntu并输入站点的ip时,它仅显示nginx默认页面。我是初学者,所以请简单回答。
这是/var/log/nginx/error.log中的日志:
2020/08/15 15:38:39 [warn] 13559#13559: conflicting server name "192.168.1.6" on 0.0.0.0:80, ignored
2020/08/15 15:38:39 [warn] 13559#13559: conflicting server name "192.168.1.6" on [::]:80, ignored
2020/08/15 15:38:39 [warn] 13577#13577: conflicting server name "192.168.1.6" on 0.0.0.0:80, ignored
2020/08/15 15:38:39 [warn] 13577#13577: conflicting server name "192.168.1.6" on [::]:80, ignored
2020/08/15 15:39:35 [warn] 14158#14158: conflicting server name "192.168.1.6" on 0.0.0.0:80, ignored
2020/08/15 15:39:35 [warn] 14158#14158: conflicting server name "192.168.1.6" on [::]:80, ignored
2020/08/15 15:39:35 [warn] 14174#14174: conflicting server name "192.168.1.6" on 0.0.0.0:80, ignored
2020/08/15 15:39:35 [warn] 14174#14174: conflicting server name "192.168.1.6" on [::]:80, ignored
2020/08/15 16:07:24 [notice] 30549#30549: signal process started