docker-registry监听5000端口,在nginx做反代后改为监听443端口且在nginx配置中加https服务,若未配置proxy_set_header Host,则有可能会出现unknown blob的问题,解决方法为:
在当前vhost的配置文件下加入
proxy_set_header Host $host;
即可
docker-registry监听5000端口,在nginx做反代后改为监听443端口且在nginx配置中加https服务,若未配置proxy_set_header Host,则有可能会出现unknown blob的问题,解决方法为:
在当前vhost的配置文件下加入
proxy_set_header Host $host;
即可