We want to run Bitbucket on two different ports simultaneously (http and https). How should I configure bitbucket.properties to do so
Bitbucket version: 6.4.0
OS: Windows Server
I was looking for how to configure bitbucket.properties. And as I looked through the documentation. I found it.
BITBUCKET.PROPERTIESserver.port=8443server.ssl.enabled=trueserver.ssl.key-store=/path/to/keystore/bitbucket.jksserver.ssl.key-store-password=<password value>server.ssl.key-password=<password value>
server.additional-connector.1.port=7990
Use a reverse proxy server. It's the most secure method. If Bitbucket listens on 80 & 443, it needs to run as "administrator" user, which can allow an attacker to take over the server. Atlassian has docs on setting up Apache and other popular reverse proxy servers to do this. The reverse proxy can run on the same server.
I would still need two open ports on the server, wouldn't I?
It looks like you're new here. Sign in or register to get started.