Simple Reverse Proxy Not Working (BitBucket 5.6 & Apache)

I have scoured these forums and spent days attempting to fix this problem, but I have not had any luck.

I have a test development server that I am setting up on AWS and I am attempting to redirect both Jira and Bitbucket using Apache Reverse Proxy, to a subdomain and context path on port 80 (for now, ssl later).

I got Jira working in MINUTES. Bitbucket, and its properties file, has given me serious headaches. I get nothing but a white screen when attempting to access my proxy address for bitbucket. Reverting my proxy and using port 7990 directly works.

Please find below relevant snippets from both my apache.conf file, and




        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/html


        ErrorLog ${APACHE_LOG_DIR}/error.log

        CustomLog ${APACHE_LOG_DIR}/access.log combined

        #LogLevel debug

        ProxyRequests Off

        <Proxy *>

                Order deny,allow

                Require all granted


        ProxyPass /bitbucket http://localhost:7990/bitbucket connectiontimeout=5 timeout=300

        ProxyPassReverse /bitbucket http://localhost:7990/bitbucket

        ProxyPass /jira http://localhost:8080/

        ProxyPassReverse /jira http://localhost:8080/



#> Migrated to database at jdbc:postgresql://

#> Updated on 2017-12-31T08:06:53.970Z











1 answer

Hi Carmine,

Bitbucket should be running on 7990 without the context path. Also remove the server.port and it will default to the server.xml

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,795 views 26 12
Join discussion

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