Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

502 bad gateway when using jira 8.8.1 behind nginx

Vageesh SM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2020

jira version: 8.8.1

nginx version: 1.16.1

nginx jira conf: 

###PROXY:JIRA###
set $upstream_jira http://jira.xxxx.xxxx.cluster.local:9092;
location ^~ /jira {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass $upstream_jira;
client_max_body_size 10M;
}
###PROXY:JIRA###

1 answer

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2020

Hi Vageesh,

welcome to the Community!

The error message basically states that a connection between proxy and Jira is not working as it should.

Can you access Jira without using a proxy? In that case the source of the error is the nginx-proxy and needs further investigation.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer