nginx - 502 Bad Gateway 问题 - 使用 Nginx 和 Jenkins
问题描述
我的一台服务器遇到问题。我有一个在 Ubuntu 操作系统中运行在 Nginx 下的 Jenkins 应用程序的配置。
但是在将 Jenkins 更新到新版本后,当我尝试访问我的 Jenkins Web 应用程序时,我收到此错误:“502 Bad Gateway - nginx/1.14.0 (Ubuntu)”
显然我所有的配置都没问题。
我该如何解决?
Nginx 错误日志:
2019/04/24 16:20:02 [error] 11424#11424: *2 connect() failed (111: Connection refused) while connecting to upstream, client: yyy.yy.yyy.yy, server: xx.xx.xxx.xxx, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "xx.xx.xxx.xxx", referrer: "http://xx.xx.xxx.xxx/"
解决方案
推荐阅读
- excel - 如何有条件地格式化(颜色等)由 Excel 中的 COUNTIF 函数计数的单元格
- ios - SwiftUI 自定义模态视图过渡滞后
- javascript - 尝试将汉堡菜单图标固定在左侧,并且在汉堡菜单打开时不移动
- android - fragment recyclerview 出现此错误 E/RecyclerView: No adapter attach; 跳过布局
- java - 为什么我会收到“找不到合适的驱动程序”错误?
- reactjs - 在 li 标签内反应多个标签
- image - “无法上传大于 5mb 的图像” - 使用图像魔法将图像转换为 5mg 的最大尺寸
- c++ - C++ 构造函数中的枚举
- java - 抽屉隐藏在自定义视图中
- xml - 尝试使用 JAXB 将 Double 转换为 XML 转换时如何避免指数(科学)字符串