distribution/contrib/docker-integration/nginx/registry-basic.conf

9 lines
262 B
Text
Raw Normal View History

client_max_body_size 0;
chunked_transfer_encoding on;
location /v2/ {
auth_basic "registry.localhost";
auth_basic_user_file test.passwd;
add_header 'Docker-Distribution-Api-Version' 'registry/2.0' always;
include docker-registry-v2.conf;
}