I read several documentations "how to make it possible" like these
I not even try to use https for the moment. First I wanna a small success, access bitbucket via my subdomain...
Ubuntu 16.04.2 LTS
server.port=7990 server.secure=false server.scheme=http server.proxy-port=80 server.redirect-port=80 server.proxy-name=mysub.mydomain.mytld
<VirtualHost *:80> ServerName mysub.mydomain.mytld DocumentRoot /opt/atlassian/bitbucket/5.0.0/ ProxyRequests Off ProxyVia Off <Directory /opt/atlassian/bitbucket/5.0.0/> Order allow,deny Allow from all Require all granted </Directory> ProxyPass /bitbucket http://mydomain.mytld:7990/ ProxyPassReverse /bitbucket http://mydomain.mytld:7990/ </VirtualHost>
...... <Directory /opt/atlassian/bitbucket/5.0.0/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> ......
/etc/init.d/apache2 restart within /opt/atlassian/bitbucket/5.0.0/bin/ ./stop-bitbucket.sh ./start-bitbucket.sh
bitbucket base url (bitbucket settings administration)
- With the default bitbucket.properties bitbucket works, when I call http://mydomain:mytld:7990/
- With my custom bitbucket.properties, when I call http://mysub.mydomain.mytld/ shows me the index of all files in this directory. When I create an index.html file, it is displayed. But no trace of bitbucket.
A couple of things to try:
In short, it looks like Bitbucket is working, but apache isn't configured correctly to proxy through to it. Section 2 in the first page you linked to shows the sum total of config you should need, anything extra might be getting in the way.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...
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!
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