aws-ecr-http-proxy
aws-ecr-http-proxy copied to clipboard
Possibility to use outbound http proxy?
Is it possible in some way to use a http-proxy to fetch the images?
You can try to change the nginx config to use proxy_pass with proxy_set_header but that won't work for TLS. Therefore you would need to use something like socat locally and use that at first.
Found a stackoverflow for that https://stackoverflow.com/questions/46803431/nginx-proxy-pass-over-https-proxy
As far as I can tell this isn't possible. Nginx doesn't support proxy_pass through a proxy, and a solution like socat doesn't work as the ECR pull flow hits multiple endpoints (the [account].dkr.ecr.[region].amazonaws.com endpoint as well as the starport layer buckets).
Am I wrong about this? Has someone else cracked this nut?