From 764dde38f14dc9d36ad3294564082f2edff600b4 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Tue, 24 Sep 2013 08:36:43 +0400 Subject: [PATCH] more comments in config file --- lib/config_def.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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/ +