Merge pull request #13 from kbrwn/nginx-storage-proxy-header-fix

PROJQUAY-4 - Fix 400s raised when podman is attempting to pull images via proxied storage
This commit is contained in:
Joseph Schorr 2019-11-14 12:35:41 -06:00 committed by GitHub
commit 622d31103d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ location ~ ^/_storage_proxy/([^/]+)/([^/]+)/([^/]+)/(.+) {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $3;
proxy_set_header Authorization "";
add_header Host $3;