mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
6 lines
376 B
Text
6 lines
376 B
Text
proxy_pass http://docker-registry-v2;
|
|
proxy_set_header Host $http_host; # required for docker client's sake
|
|
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_read_timeout 900;
|