REST API Create User - wrong URL in Location header

I wanted to create a user via REST admin API and trigger a reset pw mail (as workaround for a missing initial password or registration mail). The post to create the user returns 201 and a Location header with http instead of https and a wrong path (keycloak runs behind a corp proxy).
I followed the installation instructions and set the frontend url in standalone-ha.xml. But that doesn’t have any effect here. Am I missing something or is this a bug?

Can you “sanitize” the call you used and paste it here and paste the output of the call?

I can confirm that we have the same issue. So looks like a bug for me. We needed to manually fix the protocol, because even we use HTTPS, the response header returns with HTTP in the Location.