github.com/mika/distribution@v2.2.2-0.20160108133430-a75790e3d8e0+incompatible/contrib/docker-integration/nginx/docker-registry-v2.conf (about) 1 proxy_pass http://docker-registry-v2; 2 proxy_set_header Host $http_host; # required for docker client's sake 3 proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP 4 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 5 proxy_set_header X-Forwarded-Proto $scheme; 6 proxy_read_timeout 900;