Gitlab absolute /users/sign_in redirect

I run gitlab in docker behind reverse proxy, so when I try to connect from external it shows

redirect to

I understand that it is because it behind proxy, but why it uses absolute redirect instead of relative ? How to tell it “do not use absolute urls” ?

There is no single reason to always force absolute url especially with such autodetection from host header. Where to set issue to make gitlab fix it ?

found how to fix
just add it to gitlab.rb and reconfigure

nginx['proxy_set_headers'] = {
  "X-Forwarded-Host" => "YOU.REAL.HOSTNAME",
  "X-Forwarded-Proto" => "https",
  "X-Forwarded-Ssl" => "on"

it not makes urls relative, but at least solves redirect to complete wrong name.

this answer really helped GitLab redirecting to HTTPS although it is disabled - #3 by Myari

not external_host_names or other settings needed to change, this is what this redirector wants!