nginx: [warn] conflicting server name “www.mytest.com“ on 0.0.0.0:80, ignored(小p系统报错)

小p系统报错

1)报错1:
nginx: [warn] conflicting server name "www.mytest.com" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "www.myweb.com" on 0.0.0.0:80, ignored

原因:有旧的host文件存在。

2) 报错2:

'continue" targeting switch is equivalent to"break"。Did you mean to use "continue 2"?

原因:php7.3不支持continue方法。将版本换为php7.1,并清除小p缓存

nginx: [warn] conflicting server name “www.mytest.com“ on 0.0.0.0:80, ignored(小p系统报错)_第1张图片

nginx: [warn] conflicting server name “www.mytest.com“ on 0.0.0.0:80, ignored(小p系统报错)_第2张图片

解决方法

清除小p系统nginx下的host旧文件,不再报错警告信息。

nginx: [warn] conflicting server name “www.mytest.com“ on 0.0.0.0:80, ignored(小p系统报错)_第3张图片

你可能感兴趣的:(nginx,java,服务器)