0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/test/functional/config-2.yaml

68 lines
1.1 KiB
YAML
Raw Normal View History

2013-09-27 08:57:09 +04:00
storage: ./test-storage2
2013-09-25 12:10:12 +04:00
users:
test:
password: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
2015-04-11 16:09:19 +03:00
authtest:
password: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
2013-09-25 12:10:12 +04:00
2013-09-27 12:56:44 +04:00
uplinks:
server1:
url: http://localhost:55551/
2014-03-13 19:45:47 +00:00
maxage: 0
2013-09-27 12:56:44 +04:00
web:
enable: true
2015-04-11 16:09:19 +03:00
auth:
./plugins/authenticate:
accept_user: authtest2
with_password: blahblah
./plugins/authorize:
allow_user: authtest
to_access: test-auth-allow
2013-12-12 02:01:23 +04:00
logs:
- {type: stdout, format: pretty, level: trace}
2013-09-25 12:10:12 +04:00
packages:
2014-12-14 23:29:56 +03:00
'@test/*':
allow_access: all
allow_publish: all
proxy: server1
2013-09-27 16:36:10 +04:00
'testfwd':
allow_access: all
allow_publish: all
2014-03-13 19:45:47 +00:00
2013-09-28 20:46:55 +04:00
'testloop':
allow_access: all
allow_publish: all
proxy_access: server1
proxy_publish: server1
2013-09-27 16:36:10 +04:00
'testpkg*':
2013-09-27 12:56:44 +04:00
allow_access: test anonymous
allow_publish: test anonymous
proxy_access: server1
'test-nullstorage*':
allow_access: all
allow_publish: all
2015-04-11 16:09:19 +03:00
'test-auth-regular':
allow_access: $authenticated
'test-auth-*':
handled_by_auth_plugin: true
2013-09-25 12:10:12 +04:00
'*':
2013-09-27 12:56:44 +04:00
allow_access: test anonymous
allow_publish: test anonymous
2013-09-25 12:10:12 +04:00
2013-09-27 08:57:09 +04:00
listen: 55552
# expose internal methods
_debug: true