mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
28 lines
475 B
YAML
28 lines
475 B
YAML
|
security:
|
||
|
api:
|
||
|
jwt:
|
||
|
sign:
|
||
|
expiresIn: 5m
|
||
|
# to avoid invalid verification token, more info on JWT page
|
||
|
notBefore: 0
|
||
|
|
||
|
storage: ./storage
|
||
|
|
||
|
auth:
|
||
|
htpasswd:
|
||
|
file: ./htpasswd
|
||
|
|
||
|
packages:
|
||
|
'@token/*':
|
||
|
access: $authenticated
|
||
|
publish: $authenticated
|
||
|
'only-you-can-publish':
|
||
|
access: $authenticated
|
||
|
publish: $authenticated
|
||
|
|
||
|
logs: { type: stdout, format: pretty, level: debug }
|
||
|
|
||
|
## enable token for testing
|
||
|
flags:
|
||
|
token: true
|