Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Add original comments to included nginx configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Erll committed Sep 9, 2014
1 parent 3a89bde commit 903cd99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/nginx/docker-registry.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
proxy_pass http://docker-registry;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Authorization "";
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 Authorization ""; # see https://github.com/dotcloud/docker-registry/issues/170
proxy_read_timeout 900;

0 comments on commit 903cd99

Please sign in to comment.