Skip to content

Commit

Permalink
Replaced default auth configuration from 'none' to 'htpasswd'.
Browse files Browse the repository at this point in the history
Replaced the default registry auth configuration from 'none' to
'htpasswd'.
Following the change in distribution/distribution#2362.

Signed-off-by: Liron Levin <[email protected]>
  • Loading branch information
Liron Levin committed Aug 15, 2017
1 parent 15dbd1a commit 7361766
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions registry/config-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
auth:
htpasswd:
realm: basic-realm
path: /etc/registry
health:
storagedriver:
enabled: true
Expand Down

0 comments on commit 7361766

Please sign in to comment.