Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,025
Community Members
 
Community Events
168
Community Groups

Add http-header to Bitbucket

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

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 Community Events