diff --git a/lib/config_def.yaml b/lib/config_def.yaml index 57b0c89c3..808430338 100644 --- a/lib/config_def.yaml +++ b/lib/config_def.yaml @@ -13,6 +13,12 @@ uplinks: url: https://registry.npmjs.org/ packages: + # uncomment this for packages with "local-" prefix to be available + # for admin only, it's a recommended way of handling private packages + #'local-*': + # allow_access: admin + # allow_publish: admin + '*': # allow all users to read packages ('all' is a keyword) # this includes non-authenticated (anonymous) users @@ -26,3 +32,11 @@ packages: # when package is published locally, also push it to remote registry #proxy_publish: none + +##################################################################### +# Advanced settings +##################################################################### + +# if you use nginx with custom path, use this to override links +#url_prefix: https://dev.company.local/sinopia/ +