Account management wrong "sign out" URL

I’ve got keycloak setup behind an nginx reverse proxy and everything seems to work ok as long as i have the realm Frontend URL configured to “” BUT the “sign out” button at the upper corner of the account management screen points to http instead of https for some reason. The URL in question is:

It should be:

Am I missing a base URL or something somewhere?

Also, I should mention, this is Keycloak 11.0.