rlidwka / sinopia

Private npm repository server
5.51k stars 655 forks source link

How to prioritize the different uplinks? #471

Closed UnitedMarsupials-zz closed 6 years ago

UnitedMarsupials-zz commented 6 years ago

We are adding Sinopia to our servers for two purposes:

A private NPM can be npm published to any of our servers and we'd like other servers to be able to find it there (and then cache).

How can I configure Sinopia to only search a specific set of uplinks for packages matching a certain name-pattern -- but go to nodejs.org for all others?

UnitedMarsupials-zz commented 6 years ago

Ah, sorry, I think I found the answer to my question: