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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.