Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
verdaccio auth
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRoyt committed Dec 28, 2023
1 parent dc98971 commit 6d7578f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions verdaccio/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ uplinks:
url: https://registry.npmjs.org/
packages:
'@*/*':
access: $all
publish: $all
access: $authenticated
publish: $authenticated
proxy: npmjs
'**':
proxy: npmjs
auth:
htpasswd:
file: /verdaccio/htpasswd
# Maximum amount of users allowed to register, defaults to "+inf".
# You can set this to -1 to disable registration.
max_users: -1
log: { type: stdout, format: pretty, level: http }
max_body_size: 500mb
1 change: 1 addition & 0 deletions verdaccio/htpasswd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user:{SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=

0 comments on commit 6d7578f

Please sign in to comment.