1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/functional/store/config-2.yaml
2018-01-28 02:47:54 +01:00

93 lines
1.6 KiB
YAML

storage: ./test-storage2
uplinks:
server1:
url: http://localhost:55551/
maxage: 0
web:
enable: true
title: verdaccio-server-2
middlewares:
../fixtures/plugins/middlewares:
message: this is a custom route
max_users: 3
auth:
auth-memory:
users:
test:
name: test
password: test
authtest2:
name: authtest2
password: blahblah
authtest:
name: authtest
password: blahblah
logs:
- {type: stdout, format: pretty, level: trace}
packages:
'@test/*':
allow_access: $all
allow_publish: $all
proxy: server1
'testfwd':
allow_access: $all
allow_publish: $all
'testloop':
allow_access: $all
allow_publish: $all
proxy_access: server1
proxy_publish: server1
# used by gh29.js
'testpkg-gh29':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
# used by preserve_tags_spec.js
'testpkg-preserve':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
'testpkg':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
'readme-*':
allow_access: test $anonymous
allow_publish: test $anonymous
proxy_access: server1
'test-nullstorage*':
allow_access: $all
allow_publish: $all
'test-auth-regular':
allow_access: $authenticated
'test-auth-*':
allow_access: authtest
'test-deny':
allow_access: authtest2
'*':
allow_access: test $anonymous
allow_publish: test $anonymous
listen: 55552
# expose internal methods
_debug: true