Add jwtproxy and configure verifier for /secscan/notify
This commit is contained in:
parent
6091db983b
commit
8c8ee9c2be
6 changed files with 30 additions and 0 deletions
|
@ -49,6 +49,10 @@ location ~ ^/(v1/repositories|v2/auth)/ {
|
|||
limit_req zone=repositories burst=10;
|
||||
}
|
||||
|
||||
location /api/v1/secscan/ {
|
||||
proxy_pass http://jwtproxy;
|
||||
}
|
||||
|
||||
location ~ ^/v2 {
|
||||
# If we're being accessed via v1.quay.io, pretend we don't support v2.
|
||||
if ($host = "v1.quay.io") {
|
||||
|
|
Reference in a new issue