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

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

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

上一篇:Larave使用composer安装无反应,提示“Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer”


下一篇:android开发之在activity中控制另一个activity的UI更新