【nginx】nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /usr/local/nginx/conf

1.出现的问题

    在修改nginx 配置文件的时候 修改了http处 重新启动就报错。

nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /usr/local/nginx/conf/nginx.conf:46

2.问题分析

估计是文件写错了 一搜就找到了解决方案。

3.问题解决

 缺少了分号。

加上就可以了。

参考资料

   https://blog.csdn.net/Rodulf/article/details/53557278

原文地址:https://www.cnblogs.com/qxlxi/p/12860711.html