Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bitbucket api return a http url for repo even i configure https domain for bitbucket server

Kean Li May 23, 2023

steup the bitbucket server by use aws ec2. use the script step by step to configure.then use aws elb to configure the 443 to server 7990. now i can access the bibucket by https domain for bitbucket UI. also configure the base url to https.but when I try curl --location 'https://mydomain/rest/api/latest/projects/MDX/repos'  it's will return me a http url for the repo.what should i do

4 answers

1 vote
Kean Li May 24, 2023

ubuntu:/var/atlassian/application-data/bitbucket/shared# cat bitbucket.properties server.port=7990 server.secure=true server.scheme=https server.proxy-port=443 server.redirect-port=443 server.proxy-name=<domian>

0 votes
ThomasK March 5, 2024

Thanks @Kean Li I ran into same issue, and this solution helped.

0 votes
Kean Li May 24, 2023

Hi Christian, yes, seems it needs both Ui and bitbucket.properties configure to work. I mean if I just set the Base URL in the Bitbucket Server administration section in the UI to HTTPS will not work.

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2023

Hi Kean,

Did you set the Base URL in the Bitbucket Server adminstration section in the UI to HTTPS?

Cheers,
Christian

Premier Support Engineer
Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Bitbucket Events