Hi,
After I setup the Apache as a reverse proxy, we are able to browse the bitbucket on the browser but unable to clone or push the code to bitbucket from command line.
Have added the following in the bitbucket.properties
server.secure=true
server.scheme=https
server.proxy-port=443
server.proxy-name=bitbucket.mydomain.com
Apache Configs:
<VirtualHost *:443 >
ServerName bitbucket.mydomain.com
SSLEngine on
SSLProtocol -all +TLSv1
# Disable week ciphers:
SSLCipherSuite HIGH:!MEDIUM:!aNULL:!MD5:!RC4
SSLCertificateFile /etc/httpd/certs/bb.crt
SSLCertificateKeyFile /etc/httpd/certs/bb.key
SSLCertificateChainFile /etc/httpd/certs/SecureServerCA.crt
SSLCACertificateFile /etc/httpd/certs/TrustedExternalCARoot.crt
ProxyErrorOverride On
ProxyRequests Off
ProxyVia Off
<Proxy *>
Require all granted
</Proxy>
ProxyPass / http://servername:7990/
ProxyPassReverse / http://servername:7990/
</VirtualHost>
<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>
Updated the base URL on the bitbucket server.
Am I missing anything?