nginx: [emerg] directive "upstream" has no opening "{" in /application/nginx-1.6.3/conf/nginx.conf:13 ...

修改nginx.conf配置文件时,报以下错误:

[root@bqh-lb-121 nginx]# vim conf/nginx.conf
[root@bqh-lb-121 nginx]# sbin/nginx -t
nginx: [emerg] directive "upstream" has no opening "{" in /application/nginx-1.6.3/conf/nginx.conf:13
nginx: configuration file /application/nginx-1.6.3/conf/nginx.conf test failed

posted @ 2019-07-13 13:45  南清风  阅读(706)  评论(0编辑  收藏  举报