I’ve forked your repository to add support for using basic_auth to authenticate proxy tunnel connections.
https://github.com/mickael-garrido/openresty-docker-registry-proxy
It is now based on OpenResty to run a Lua script that dynamically copies the Proxy-Authorization header to the Authorization header, enabling support for the basic_auth feature.
Feel free to integrate this into your repository. Your project is awesome, but since we needed authentication support, we created this fork. However, we’d prefer to use your original project and hope you’ll consider merging these changes.
I wasn’t able to create a Pull Request because the changes are quite disruptive.