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

John Stanford
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2013

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

0 votes
Answer accepted
Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 15, 2013

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.

Jakub Musialek
Contributor
October 9, 2018

I have setup my connection as it is explained here and proxy with nginx does not work. Is there any config for nginx and fisheye4.6 that actually work?

Nginx version - 1.4.7-1+precise0

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events