I was able to set up JIRA behind a Apache reverse proxy using SSL. Unfortunately, after reading the bitbucket documentation, it does not use the same server.xml config file. I read the documentation about using bitbucket.properties file, but there was no such file on my ubuntu server after installing. The documentation is not very specific when it refers to <Bitbucket home directory>
/shared. Is this the installation files home, or the data files home? These two are in different folders on my system. To test, I created a shared directory in both of the bitbucket directories and created a bitbucket.properties file. My file has these properties specified:
<Connector port=<default>
maxThreads=<default>
minSpareThreads=<default>
connectionTimeout=<default>
enableLookups=<default>
maxHttpHeaderSize=<default>
protocol=<default>
useBodyEncodingForURI=<default>
redirectPort=<default>
acceptCount=<default>
disableUploadTimeout=<default>
proxyName="bitbucket.example.com"
proxyPort="443"
secure="true"
scheme="https"/>
I am using a VirtualHost file to redirect traffic sent to my apache server with subdomain bitbucket.example.com to port 7990 on the local host, where bitbucket is listening. I was able to do this for JIRA, but it's not working for my bitbucket server. What am I missing?
Hi!
I believe your file should be like
reference:
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-config-properties-776640155.html
Cheers,
Gonchik Tsymzhitov
Thank you for the reference - I will make these changes and see what happens. Do you know if the properties file should be in the application data directory, or the install directory? E.g. for me on ubuntu the application data is in /var/atlassian and the application was installed at /opt/atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create the
bitbucket.properties
file, in the shared folder of your home directory, and add the system properties you need, use the standard format for Java properties files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.