docker-registry-proxy icon indicating copy to clipboard operation
docker-registry-proxy copied to clipboard

Feature: Add option for authenticating clients

Open gw0 opened this issue 4 years ago • 0 comments

Everyone who can connect to the proxy, can retrieve images from private repos. In case where this is not desired, there could be an option to authenticate clients that are allowed to use the proxy.

Maybe something as simple as enabling HTTP Basic authentication in Nginx would satisfy most use cases:

    auth_basic           "Authentication required";
    auth_basic_user_file conf/htpasswd;

Note: Of course, if you connect to the proxy via HTTP these credentials are transferred over the network unencrypted. If this is not desired, there should also be options to configure the HTTPS server in Nginx.

gw0 avatar Feb 16 '21 14:02 gw0