Migrate Kubernetes v1.9.1 cluster/addons/registry to Kubespray

This commit is contained in:
Wong Hoi Sing Edison
2018-02-04 12:32:33 +08:00
parent bd1f0bcfd7
commit 7954ea2525
23 changed files with 1045 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
proxy_pass http://docker-registry;
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;