I would like to set up a nexus "Site repository" as a mirror of an distant site, let's say http://www.nodejs.org/dist/.
I followed theses explanations : http://books.sonatype.com/nexus-book/reference/_creating_a_site_repository.html
and I created it (named nodejs-org-dist
).
Additionnaly, I configured the mirror tab by adding the distant url (http://www.nodejs.org/dist/) to the list of the mirrors.
Doing that, I was expecting to access this file
http://www.nodejs.org/dist/v0.10.33/node.exe
.. through this link :
http://localhost:8081/nexus/content/sites/nodejs-org-dist/v0.10.33/node.exe
But it does not seem to work at all (I get a 404).
So :
- Does this make sense to expect that behavior ?
- It is possible to do that ?
- If it is, what did I do wrong ?
I am really new to nexus and all this repositories' world.
Thx a lot for your help.
NB: I am using Sonatype Nexus™ 2.10.0-0
Site repositories can not be proxied. The mirror configuration will not cause Nexus to do any proxying as you want.