Send the original host along to the registry code
This commit is contained in:
parent
e56115d9d2
commit
0c7839203e
1 changed files with 2 additions and 1 deletions
|
@ -45,13 +45,14 @@ location /v1/repositories/ {
|
|||
limit_req zone=repositories burst=10;
|
||||
}
|
||||
|
||||
location /v1/ {
|
||||
location ~ ^/(v1|v2)/ {
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_request_buffering off;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
proxy_set_header Host $host;
|
||||
|
||||
proxy_pass http://registry_app_server;
|
||||
proxy_temp_path /tmp 1 2;
|
||||
|
|
Reference in a new issue