mirror of
https://github.com/distribution/distribution.git
synced 2025-09-01 15:07:25 +00:00
Fixed WWW-Authenticate: header, added example config and import into main, fixed golint warnings
Signed-off-by: Dave Trombley <dave.trombley@gmail.com>
This commit is contained in:
committed by
Stephen J Day
parent
8a204f59e7
commit
0ecaa7f40a
@@ -26,6 +26,10 @@ storage:
|
||||
maintenance:
|
||||
uploadpurging:
|
||||
enabled: false
|
||||
auth:
|
||||
basic:
|
||||
realm: test-realm
|
||||
path: /tmp/registry-dev/.htpasswd
|
||||
http:
|
||||
addr: :5000
|
||||
secret: asecretforlocaldevelopment
|
||||
|
@@ -18,6 +18,7 @@ import (
|
||||
"github.com/docker/distribution/configuration"
|
||||
"github.com/docker/distribution/context"
|
||||
_ "github.com/docker/distribution/health"
|
||||
_ "github.com/docker/distribution/registry/auth/basic"
|
||||
_ "github.com/docker/distribution/registry/auth/silly"
|
||||
_ "github.com/docker/distribution/registry/auth/token"
|
||||
"github.com/docker/distribution/registry/handlers"
|
||||
|
Reference in New Issue
Block a user