Add jwtproxy and configure verifier for /secscan/notify

This commit is contained in:
Evan Cordell 2016-04-18 11:42:17 -05:00 committed by Jimmy Zelinskie
parent 6091db983b
commit 8c8ee9c2be
6 changed files with 30 additions and 0 deletions

View file

@ -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") {