【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

发布了264 篇原创文章 · 获赞 347 · 访问量 17万+

猜你喜欢

转载自blog.csdn.net/jia970426/article/details/104926972
今日推荐