I've just installed Bitbucket on my local server and configured it behind an apache reverse proxy. Bitbucket is working but the branch creation does not work. If I access directly using the :7990 port the branch creation works so it's definitely linked to the reverse proxy configuration.
In my server.xml I have:
<Connector port="7990" protocol="HTTP/1.1"
connectionTimeout="20000"
useBodyEncodingForURI="true"
compression="off" compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" />
secure="true"
scheme="https"
proxyName="bitbucket.mydomain.com"
proxyPort="443" />but in my server config requires me to enter the baseUrl as 'http://bitbucket.mydomain.com' rather than 'https://bitbucket.mydomain.com' which otherwise it gives me the banner saying my base url config is not correct. This change to http and compression is turned off was recommended in other forum answers.
Anyone any ideas? There must be something I've missed that's causing this. I've not tested pull requests etc so expect that it may not be simply branches that are not working correctly.