duplicate upstream "

版权声明:本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可,转载时请标注 https://blog.csdn.net/qq6759/article/details/88564550

nginx: [emerg] duplicate upstream ",nginx: [emerg] duplicate upstream "

根据错误日志

2019/03/15 00:08:03 [emerg] 12704#12704: duplicate upstream "php" in /etc/nginx/conf.d/www.conf:1

仔细查看 nginx 的 /etc/nginx/conf.d 配置文件中 upstream 后的命名果然有重复,修改成不重复值即可!

nginx -t

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Complete!

 此文为工作笔记,若能帮助到你,不胜荣幸!

猜你喜欢

转载自blog.csdn.net/qq6759/article/details/88564550