Nginx reverse proxy application links

I have 2 JIRA 6.3.15 instances each behind a Nginx reverse proxy + SSL.

When I try to create application links between them, JIRA reports no response.

"No response was received from the URL you entered - it may not be valid. Please fix the URL below, if needed, and click Continue."

Nginx access logs shows this line. - - [21/May/2015:14:19:17 -0400] "\x15\x03\x03\x00\x02\x02(" 400 172 "-" "-"

JIRA's catalina.out has no output. Which suggests that the request wasn't forwarded.

Has anyone got this working?


http {
        proxy_cache_path /var/lib/nginx/cache keys_zone=one:10m;
        server {
                listen 80;
                server_name jira2.lan;
                location / {
                return 301 https://$server_name$request_uri;
        server {
            listen 443 ssl;
            server_name jira2.lan;
            ssl_certificate /etc/ssl/certs/cert.pem;
            ssl_certificate_key /etc/ssl/certs/key.pem;
            # NGINX usually only allows 1M per request. Increase this to JIRA's maximum attachment size (10M by default)
            client_max_body_size 10M;
            proxy_cache one;
            add_header X-Cache-Status $upstream_cache_status;
            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://jirahost2.lan:8080;

3 answers

1 accepted

0 votes
Accepted answer

I needed to add the self signed certificates into the JVM for the link to work.

Hello, Could you give more details on the solution ? Did you configure the tomcat connector to use ssl or did you simply add the certificates to an accessible keystore ?

Hi, I stumbled across this while having a similar issue - trying to migrate from Apache2 to Nginx. - The problem at least for me - was the SSLCertificateChainFile - the DigiCertCA - which is the trusted chain. NGINX doesn't have an equivallent, so you can append the contents into your ssl_certificate file. Worked after that.

0 votes
Rodrigo Rosa Atlassian Team May 21, 2015


I recommend you to check this guide, which covers the common problems regarding Application Links creation and maintenance.

0 votes



The catalina.out only shows logs related to Tomcat start up. To see logs related to the application and applinks, please cheack the <jira-home>/logs/jira-atlassian.log.

I also got curious about your NGINX configuration. You've mentioned that you have two JIRA, but I'm only seeing configuration to jira2 host. Is this NGINX working as Load Balancer as well?

If possible, please delete the application links between these two jiras, run a tail f on the both JIRA logs and try to recreate the application links again and post the error message here. 



Renato Rudnicki


atlassian-jira.log did not show any output either. Somehow nginx isn't forwarding the request to tomcat. The 2 JIRA has identical nginx configuration other than their hostnames. No load balancer. jirahost - HTTP - Nginx jiratest - HTTPS jirahost2 - HTTP - Nginx jiratest2 - HTTPS There is no link to delete. I'm trying to create the link. Thanks, - Andy

Hi Andy, A good way to check where it is failing is running a tcpdump on servers. Regards, Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,300 views 12 19
Read article

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