Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add http-header to Bitbucket

Bastian Stehmann
Community Champion
September 1, 2022

Hi,

 

I'm looking for a way to add http headers like HSTS to Bitbucket. 

Did I understand it right, that it should be possible to add a header using the 

server.server-header directive in the bitbucket.properties.

Configuration properties | Bitbucket Data Center and Server 8.3 | Atlassian Documentation

Is that correct? And how do I set that header?

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2022

Hi Bastian,

That configuration property only controls the Server header. If you want to implement HSTS you will need to set up a reverse proxy server in front of Bitbucket Server and inject the header there.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events