nginx无法启动,host not found in upstream
作者:bulang发布时间:2025-10-24 10:34分类:电脑浏览:7评论:0
导读:nginx:[emerg]hostnotfoundinupstream"api.xxxx.com"in/www/server/panel/vh...
nginx: [emerg] host not found in upstream "api.xxxx.com" in /www/server/panel/vhost/rewrite/en.xxx.com.conf:19
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed
这个问题处理起来非常简单
在服务器里 找到 /etc/hosts 这个文件,点击编辑
127.0.0.1 localhost.localdomain api.xxxx.com
重启nginx 即可
标签:nginx
- 上一篇:我今天尝试注册facebook
- 下一篇:已经是最后一篇了
相关推荐
欢迎 你 发表评论:
- 电脑排行
- 文章归档
-
- 2025年10月 (3)
- 2025年9月 (1)
- 2025年8月 (1)
- 2025年7月 (1)
- 2025年6月 (2)
- 2025年5月 (4)
- 2025年4月 (5)
- 2025年2月 (4)
- 2025年1月 (3)
- 2024年12月 (6)
- 2024年11月 (9)
- 2024年10月 (8)
- 2024年9月 (1)
- 2024年8月 (7)
- 2024年7月 (4)
- 2024年6月 (9)
- 2024年5月 (2)
- 2024年4月 (2)
- 2024年3月 (1)
- 2024年1月 (1)
- 2023年12月 (5)
- 2023年11月 (30)
- 2023年10月 (1)
- 2023年9月 (3)
- 2023年8月 (7)
- 2023年7月 (26)
- 2023年6月 (46)
- 2023年5月 (20)
- 2023年4月 (66)
- 2023年3月 (32)
- 2023年2月 (27)
- 2023年1月 (24)
- 2022年12月 (95)
- 2022年11月 (48)
- 2022年10月 (59)
- 2022年9月 (81)
- 2022年8月 (186)
- 2022年7月 (394)
- 2022年6月 (242)
- 2022年5月 (1)
- 2021年6月 (1)
- 2020年8月 (1)
- 2008年11月 (1)



