BitBucket redirects to local port despite proper config

Tom Pawelek July 1, 2020

Hey everyone, here's our setup:

BitBucket (1).png

Here's the problem - upon visiting https://bitbucket, it sends a 302 redirect to https://bitbucket:17990/dashboard, which obviously fails.

 

App settings:

Screen Shot 2020-05-22 at 10.53.25 AM.png

 

Container settings:

Screen Shot 2020-05-22 at 10.49.51 AM.png

 

bitbucket.properties:

Screen Shot 2020-07-01 at 11.10.02 AM.png

 

What else can we do? It makes the whole server useless in our organization, since all users are redirected to a non-existing URL.

1 answer

1 accepted

0 votes
Answer accepted
Tom Pawelek July 1, 2020

It looks like it was nginx configuration that confused bitbucket. After changing the proxy_set_headers as per docs, it's working fine.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.3.1
TAGS
AUG Leaders

Atlassian Community Events