Secure the correct endpoint

This commit is contained in:
Evan Cordell 2016-04-18 12:56:03 -05:00 committed by Jimmy Zelinskie
parent 8c8ee9c2be
commit adc86456b5
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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;
}