Skip to content

Commit

Permalink
Merge pull request #138 from mmpei/downloadchart1.0-136
Browse files Browse the repository at this point in the history
Fix download chart issue in V1.0.0
  • Loading branch information
ywk253100 authored Jan 10, 2019
2 parents 7535329 + 028fccc commit a3fa7c4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/nginx/configmap-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@ data:
proxy_buffering off;
proxy_request_buffering off;
}
location /chartrepo/ {
proxy_pass http://core/chartrepo/;
proxy_set_header Host $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;
}
location /c/ {
proxy_pass http://core/c/;
Expand Down
13 changes: 13 additions & 0 deletions templates/nginx/configmap-https.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,19 @@ data:
proxy_buffering off;
proxy_request_buffering off;
}
location /chartrepo/ {
proxy_pass http://core/chartrepo/;
proxy_set_header Host $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;
}
location /c/ {
proxy_pass http://core/c/;
Expand Down

0 comments on commit a3fa7c4

Please sign in to comment.