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

1 comment

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>

Like ThomasK likes this
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

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.

ThomasK March 5, 2024

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

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events