Merge pull request #613 from antoniomercado/remove-nginx-authorization-unset

Removing Nginx Authorization header unset because it breaks with a user defined index endpoint
This commit is contained in:
Olivier Gambier 2015-06-11 08:56:02 -07:00
commit 7729294e38

View File

@ -3,5 +3,5 @@ proxy_set_header Host $http_host; # required for docker client's
proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Authorization ""; # see https://github.com/docker/docker-registry/issues/170
proxy_set_header Authorization ""; # For basic auth through nginx in v1 to work, please comment this line
proxy_read_timeout 900;