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