首页 > 解决方案 > 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/"

标签: nginxjenkins

解决方案


推荐阅读