0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/server/test/jwt/jwt.yaml
2021-04-09 17:54:01 +02:00

36 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 }