Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,500
Community Members
 
Community Events
165
Community Groups

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

0 votes
Answer 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.

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
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

188 views 0 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you