Deny api v1 because docker tries to fall back
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
cbd6dfe92b
commit
39dc41533e
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@ ProxyPreserveHost On
|
|||
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
|
||||
# No more v1
|
||||
<Location /v1/>
|
||||
Require all denied
|
||||
</Location>
|
||||
|
||||
# We require auth on /v2/ exactly to make sure that docker realizes it needs to
|
||||
# send a username/password.
|
||||
<Location /v2/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue