mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
set the Host header to registry to include the port information
This commit is contained in:
parent
1fb4506eaf
commit
dbc20a57bc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user