配置文件原文:
storage: ./storage
auth:
htpasswd:
file: /.htpasswd
uplinks:
npmjs:
url: http://registry.npmjs.org/
packages:
'@*/*':
access: $all
publish: $authenticated
'*':
access: $all
publish: $authenticated
proxy: npmjs
logs:
- {type: stdout, format: pretty, level: http}
listen: 0.0.0.0:4873
http_proxy: http://代理服务器ip:8080
https_proxy: http://代理服务器ip:8080
常用配置详解