Nginx 和上游:配置失败

Nginx and upstream : configuration failed

我尝试用 nginx 测试负载均衡器,所以我像文档示例一样添加了上游。但是当我尝试重新加载nginx来刷新配置时,刷新失败。
我刚刚添加了上游集团,如果我删除它所有工作

文件:/etc/nginx/sites-available/default

upstream backend {
    server webserver1:80;
    server webserver2:80;
}

server {
    listen 80;
    listen [::]:80;

    server_name www.interceptlocalcall.io interceptlocalcall.io;

    location /users {
            proxy_pass http://127.0.0.10:18000;
    }
...

当我重新加载上游块时:

[FAIL] Reloading nginx configuration: nginx failed!

Nginx 版本:

nginx version: nginx/1.6.2

我看到有关此错误的任何信息,所以我想我只是错过了一些东西,也许是在安装过程中?
如果您有任何想法,谢谢。

请通过 运行 $ nginx -c /etc/nginx/nginx.conf -t 测试您的配置 — 它会告诉您有关配置问题的更多详细信息。 这些消息也写入全局 error.log 文件(不是您为服务器定义的,而是在 http 部分中定义的),通常位于 /var/log/nginx/error.log.