issues.jboss.org/projects/PROJQUAY/issues/PROJQUAY-4
Fixes an issue encountered when attempting to pull images from Quay via podman when storage proxying is enabled. Configures nginx to clear the Authorization header to ensure that storage engine does not raise a 400
This commit is contained in:
parent
3a77b5b1a9
commit
92aa3cf963
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ location ~ ^/_storage_proxy/([^/]+)/([^/]+)/([^/]+)/(.+) {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $3;
|
proxy_set_header Host $3;
|
||||||
|
proxy_set_header Authorization "";
|
||||||
|
|
||||||
add_header Host $3;
|
add_header Host $3;
|
||||||
|
|
||||||
|
@ -334,4 +335,4 @@ location ~ ^/b1/socket(/?)(.*) {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_read_timeout 300;
|
proxy_read_timeout 300;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue