Nginx reverse proxy of Crucible + Fisheye fails to draw /admin/admin.do content

Hi,

I've got all of the atlassian tools to work behind an nginx proxy except for this pair. These guys partially work, but eventually I'll hit a page that doesn't get rendered properly. For example, when I go to "Administration" it paints the header and footer, but no content.

I've reviewed a couple similar threads on this and other sites, but none of them have resolved my issue. Here are some config details.

fecru/config.xml:

<web-server 
   context="crucible" 
   site-url="https://[redacted].[redacted].com/crucible">
   <http 
      bind=":8060" 
      proxy-port="443" 
      proxy-scheme="https" 
      proxy-host="[redacted].[redacted].com"/>
</web-server>

nginx config:

location ~ ^/crucible {

        proxy_pass http://127.0.0.1:8060;
        proxy_connect_timeout   150;
        proxy_send_timeout      100;
        proxy_read_timeout      100;
        proxy_buffers           4 32k;
        client_max_body_size    8m;
        client_body_buffer_size 128k;
        proxy_buffering off;
	port_in_redirect off;
	proxy_redirect http://127.0.0.1:8060 /crucible;

}

Any guidance would be greatly appreciated!

1 answer

1 accepted

1- nginx note: avoid using regex in location; in this case, simple 'location = /crucible' should work just as well.

2- proxy_redirect and port_in_redirect should not be necessary, as the app is aware it is running behind a proxy and will generate correct links itself.

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
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

77 views 0 11
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