1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/server/test/jwt/jwt.yaml
2021-04-09 17:54:01 +02:00

37 lines
520 B
YAML

storage: ./storage
plugins: ./plugins
web:
title: Verdaccio
auth:
htpasswd:
file: ./htpasswd
security:
api:
jwt:
sign:
expiresIn: 10m
notBefore: 0
packages:
'@*/*':
access: $all
publish: $authenticated
proxy: remote
'vue':
access: $authenticated
publish: $authenticated
proxy: remote
'**':
access: $all
publish: $authenticated
proxy: remote
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: warn }