server { listen 80; root /usr/share/nginx/html; location /v2 { proxy_pass http://docker-registry:5000; } }