github.com/mika/distribution@v2.2.2-0.20160108133430-a75790e3d8e0+incompatible/contrib/docker-integration/nginx/docker-registry.conf (about) 1 proxy_pass http://docker-registry; 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_set_header Authorization ""; # see https://github.com/docker/docker-registry/issues/170 7 proxy_read_timeout 900;