Gitlab container registry ssl problem when using nginx reverse proxy

Hi

my gitlab instance is behind an nginx reverse proxy so i dont have ssl certificates on gitlab server
i dont know to how configure registry to work with https
im using gitlab-ce latest version

Steps to reproduce

using nginx reverse proxy and placing gitlab behind it

Configuration

external_url ‘https://.gitlab.testy.com’
nginx[‘listen_port’] = 80
nginx[‘listen_https’] = false
registry_external_url ‘https://.gitlab.testy.com:5050’


extra dots in urls are intentional


Versions

  • Self-managed
  • Self-hosted Runners