Hello Guys,
We are using Jira 7.1.9 and it is working fine with a nginx reserve proxy. Now we are switching to HAProxy. Every server and product in datacenter working fine except Jira. Does anyone have an idea or experience about it?
Both http://jira.xxxxx.xxx and https://jira.xxxxx.xxx are giving the following screen
Server.xml (Connector Info)
<Connector port="8080" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true"
proxyName="jira.xxxxx.xxx" proxyPort="80"/>
nginx.conf
upstream jira {
server 10.0.0.5:8080;
}
server {
listen 80;
server_name jira.xxxxx.xxx;
location / {
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 http://jira;
client_max_body_size 10M;
}
}
haproxy.cfg
Your config doesn't look wrong at all.
We also run our Jiras behind HAProxy, the main difference is that we use the HTTPS scheme with proxyPort=443 set in server.xml rather than plain HTTP with proxyPort=80.
Also your screenshot doesn't look like Jira DC 404s at all. Are you sure that the HAProxy hits the correct backend?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.