rpardini / docker-registry-proxy

An HTTPS Proxy for Docker providing centralized configuration and caching of any registry (quay.io, DockerHub, k8s.gcr.io)
Apache License 2.0
912 stars 170 forks source link

Feature/force-upstream-to-use-http-1-1 #128

Open hishamanver opened 2 years ago

hishamanver commented 2 years ago

Ties to https://github.com/rpardini/docker-registry-proxy/pull/102

Added ENV check and include file to force upstream to use http 1.1

Use case - we have a harbor upstream registry sits behind an envoy proxy that requires connections to use http2.

This PR forces the connection to use http 1.1

Please ignore whitespace differences :)

GureevLeonid commented 1 year ago

@rpardini, hi. Is it possible to merge this? We are currently facing the same issue with a 426 Upgrade Required error, with cr.yandex as the upstream.