Unable to login to Registry




im unable to login in my Registry.

This is the Config i have

registry_external_url 'https://foo.bar.de:5005'
 gitlab_rails['registry_enabled'] = true
 gitlab_rails['registry_host'] = "localhost"
 gitlab_rails['registry_port'] = "5000"
 gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
 registry_nginx['enable'] = true
 registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/foo_cert.cer"
 registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/foo.key"
 registry['enable'] = true

When i login from my machine (18.06.1-ce) i get this error message
Error response from daemon: Get https://foo.bar.de:5005/v2/: Service Unavailable

Do you see any issue in the Config we already checked all steps involved and all looks fine to me