mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
13 lines
447 B
Plaintext
13 lines
447 B
Plaintext
location /notary/v2/ {
|
|
proxy_pass http://notary-server/v2/;
|
|
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;
|
|
|
|
# When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_buffering off;
|
|
proxy_request_buffering off;
|
|
}
|