Closed valkenburg-prevue-ch closed 1 year ago
I start to understand that what I thought of is impossible; a proxy cannot be behind another proxy. Or can it? Either way, my actual goal is to protect access to the proxy, in a situation where using firewall rules is not manageable (for example providing access to a random selection of ips and not any other ip in that range).
I do not see anything about securing this setup. Any advice?
This is a man-in-the-middle authentication-injecting proxy. Adding authentication to a CONNECT proxy is far beyond the scope, and this "limitation" is clearly stated in the readme...
My original title was "How to use docker-registry-proxy behind an https-terminating reverse proxy?", but my real question is how to protect the proxy against outside users.
I am probably missing the point here, but how do I securely use docker-registry-proxy? All the examples are over http, so I thought I would run the docker image behind a reverse-proxy with https. I can reach the docker-registry-proxy just fine through the reverse-proxy over https, I get HTTP 200 and
docker-registry-proxy: The docker caching proxy is working!
. Butgives me
I have no clue what is going wrong here.
When I open port 3128,
works without any issue, but this opens my containers to the world. Adding basic auth over plain http would open my credentials to the world...