You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
373 B

  1. proxy_pass http://docker-registry;
  2. proxy_set_header Host $http_host; # required for docker client's sake
  3. proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
  4. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  5. proxy_set_header X-Forwarded-Proto $scheme;
  6. proxy_read_timeout 900;