Bitbucket server seems to have set its context base port to 8443, however, I've not set port 8443 in its configuration anywhere. The base url doesn't have a port and the bitbucket.properties file looks like so.
Any ideas what's causing the redirect to port 8443?
Bitbucket tells me there's a Base URL mismatch, however inspecting the base URL field shows the correct value. It looks like the base URL is being overridden somewhere.
server.port=7990
server.secure=true
server.scheme=https
server.proxy-port=443