Bitbucket Server/Data Center behind a proxy

If you run your Bitbucket Server/Data Center behind a proxy then you need to provide additional configuration to make your REST API work and connect a Bitbucket mirror correctly.

You need to add to the BITBUCKET_HOME/shared/bitbucket.properties the following lines:

server.secure=true
server.scheme=https
server.proxy-port=443 (ssl port)
server.redirect-port=443 (ssl port)
server.proxy-name=your bitbucket domain

If you already have the server.port parameter in your bitbucket.properties then do not change it. Leave it as it is. If you configure a mirror then you should add the same configuration to your Bitbucket mirror instance.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: