Secure the correct endpoint
This commit is contained in:
parent
8c8ee9c2be
commit
adc86456b5
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ jwtproxy:
|
|||
listen_addr: unix:/tmp/jwtproxy.sock
|
||||
verifier:
|
||||
upstream: unix:/tmp/gunicorn_web.sock
|
||||
audience: http://quay.io
|
||||
audience: quay
|
||||
key_server:
|
||||
type: keyregistry
|
||||
options:
|
||||
|
|
|
@ -49,7 +49,7 @@ location ~ ^/(v1/repositories|v2/auth)/ {
|
|||
limit_req zone=repositories burst=10;
|
||||
}
|
||||
|
||||
location /api/v1/secscan/ {
|
||||
location /secscan/ {
|
||||
proxy_pass http://jwtproxy;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue