From b450b42c25165eb49320cee5975e8b78ba20e0c2 Mon Sep 17 00:00:00 2001 From: Antonio Mercado Date: Tue, 9 Jun 2015 17:17:01 -0400 Subject: [PATCH] Removing Nginx Authorization header unset because it breaks with a user defined index endpoint Signed-off-by: Antonio Mercado --- contrib/compose/nginx/docker-registry.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/compose/nginx/docker-registry.conf b/contrib/compose/nginx/docker-registry.conf index 5b1a2d580..7b039a54a 100644 --- a/contrib/compose/nginx/docker-registry.conf +++ b/contrib/compose/nginx/docker-registry.conf @@ -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;