0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
verdaccio/test/unit/modules/config/partials/logs.yaml
Juan Picado 5e9637da90
fix: add missing token auth middleware (#3944)
* fix: add missing token auth middleware

* improve tests

* format
2023-07-21 00:32:14 +02:00

34 lines
667 B
YAML

storage: ./storage
plugins: ./plugins
web:
title: Verdaccio
auth:
htpasswd:
file: ./htpasswd
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@*/*':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
server:
keepAliveTimeout: 60
middlewares:
audit:
enabled: true
# intended to verify backward compatibility
logs: { type: stdout, format: pretty, level: http }
experiments:
token: false
bytesin_off: false
tarball_url_redirect: 'https://mycdn.com/verdaccio/${packageName}/${filename}'