...

Text file src/github.com/docker/distribution/contrib/docker-integration/nginx/docker-registry-v2.conf

Documentation: github.com/docker/distribution/contrib/docker-integration/nginx

     1proxy_pass                          http://docker-registry-v2;
     2proxy_set_header  Host              $http_host;   # required for docker client's sake
     3proxy_set_header  X-Real-IP         $remote_addr; # pass on real client's IP
     4proxy_set_header  X-Forwarded-For   $proxy_add_x_forwarded_for;
     5proxy_set_header  X-Forwarded-Proto $scheme;
     6proxy_read_timeout                  900;

View as plain text