We are running Bitbucket Server 5.8 behind an nginx 1.12 proxy with SSL terminating at the proxy. The JIRA On Demand instance absolutely refuses to make a connection to the Bitbucket server while it is behind the proxy. We removed Bitbucket from behind the proxy for testing purposes and JIRA connected to Bitbucket seamlessly. Trouble is we need Bitbucket to reside behind the proxy, and after endless google searches, haven't been able to find a fix or logical reason for why the connection is failing. Any suggestions would be greatly appreciated.