容器技术交流

 找回密码
 立即注册
查看: 2757|回复: 1

Nginx was restarted failed怎么解决啊?

[复制链接]
发表于 2014-10-5 22:48:47 | 显示全部楼层 |阅读模式
Shutting down php_fpm Starting php_fpm done nginx: [emerg] host not found in upstream "7.lum" in /usr/local/nginx/conf/vhost.conf:37 nginx: [emerg] host not found in upstream "7.lum" in /usr/local/nginx/conf/vhost.conf:37
Nginx重启失败! Nginx was restarted failed


-------------------------------------------------------------------------------
下面是vhost.conf文件的部分代码,红色是37行


         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

        location / {

                  proxy_pass http://7.lum:8889;

        }

 楼主| 发表于 2014-10-5 22:58:18 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2024-4-20 16:06 , Processed in 0.030711 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表