Hi all,
I installed jira on my server and enabled HTTPS but this is the issue that I'm getting.
My setup is following:
- I have 2 different virtual machines, one is for nginx reverse proxy and other is for Jira only
- Domain is set on nginx VM with lets encrypt and proxy_pass to Jira VM with following:
server {
server_name jira.domain.com;
location / {
proxy_set_header Host $host;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_pass http://172.16.44.109:8080;
client_max_body_size 10M;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/jira.domain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/jira.domain.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = jira.domain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name jira.domain.com;
listen 80;
return 404; # managed by Certbot
}
Jira server.xml is set with following:
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
proxyName="jira.domain.com" proxyPort="443"/>
When I tried CURL jira.domain.com from Jira VM i got Connection refused
Does anybody have any idea or this is not gonna work?
EDIT: Just tried fresh install and i'm having same error.