Merge pull request #211 from reasonerjt/master

set the Host header to registry to include the port information
This commit is contained in:
Daniel Jiang 2016-05-11 14:34:24 +08:00
commit ae80747c67

View File

@ -47,7 +47,7 @@ http {
location /v2/ {
proxy_pass http://registry/v2/;
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;