I’m running gitlab behind nginx with letsencrypt certificates and everything looks fine but container registry. TLS termination happens at nginx and I’m not able to login with docker.
I published port 5005:4567
and setup mu config as follows:
registry_external_url 'https://my.gitlab.com:5005'
...
registry_nginx['listen_port'] = 4567
registry_nginx['listen_https'] = false
registry_nginx['proxy_set_headers'] = {
"Host" => "$http_host",
"X-Real-IP" => "$remote_addr",
"X-Forwarded-For" => "$proxy_add_x_forwarded_for",
"X-Forwarded-Proto" => "https",
"X-Forwarded-Ssl" => "on"
}