Can not resolve issues when run jira under ssl

Hi, I install Jira in debian server, by nginx I force jira to start by ssl certification and https domain. But when I want to resolve one issue this error appear:

"The JIRA server could not be contacted. This may be a temporary glitch or the server may be down. Close this dialog and press refresh in your browser."

In another side when run jira by 127.0.0.1:8080 it allow me to resolve issue.

you can see my nginx configuration in bellow.

Please help me to know what is problem.

Thanks in advance

server {
 listen 80;
 server_tokens off;
 server_name  my domain name;
 return 301 https://$server_name$request_uri; # enforce https
}
server {
 listen 443 ssl;
 server_tokens off;
 server_name  my domain name;

 ssl on;
 ssl_certificate /etc/ssl/certs/jira.crt;
 ssl_certificate_key /etc/ssl/certs/jira.key;

 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_set_header Host $host;                   
 proxy_set_header X-Real-IP $remote_addr;       
 proxy_set_header X-Forwarded-Proto https;      
 proxy_pass http://127.0.0.1:8080/;

 }
}

1 answer

I am not a big user of nginx, but make sure that the application base url is set to the https://<servername>

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

116 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you