# Use nexus npm repository to proxy artifactory local repository?

**URL:** <https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685>\
**Category:** Sonatype Nexus Repository\
**Created:** [October 18, 2018, 9:44am UTC](https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685 "2018-10-18T09:44:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreaminshi](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@dreaminshi](https://community.sonatype.com/u/dreaminshi)\
**Post date:** [October 18, 2018, 9:44am UTC](https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685/1 "2018-10-18T09:44:56Z")

</div>

Hi, I want to use Nexus to proxy Artifactory, If the proxied repo is remote repository(Artifactory), everything is OK. But when the proxied repo is local repository, the content is empty, even though Nexus displasy remote available… Here I make any mistake?

(Background: I want to do timely sync between nexus and artifactory about one local repository belongs to artifactory.)

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [October 18, 2018, 2:03pm UTC](https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685/2 "2018-10-18T14:03:24Z")

</div>

Proxy repositories don’t mirror the contents of their remotes, content will be cached locally in a proxy repository as it is requested through Nexus. Try running some builds against Nexus that use components stored in the Artifactory instance.

---

<div class="post-metadata">

**Author:** ![dreaminshi](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@dreaminshi](https://community.sonatype.com/u/dreaminshi)\
**Post date:** [October 22, 2018, 1:50am UTC](https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685/3 "2018-10-22T01:50:39Z")

</div>

> [@dreaminshi](#):
>
> Hi, I want to use Nexus to proxy Artifactory, If the proxied repo is remote repository(Artifactory), everything is OK. But when the proxied repo is local repository, the content is empty, even though Nexus displasy remote available… Here I make any mistake?

yes, before I have tried to do as what you said, but it doesn’t work. So here I guess that here Nexus has any Compatibility issue with Nexus (vice versa)?  
(Concretely, it reports 404… but if i have access to the package from the origin url, it works.)

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [October 22, 2018, 5:14pm UTC](https://community.sonatype.com/t/use-nexus-npm-repository-to-proxy-artifactory-local-repository/685/4 "2018-10-22T17:14:48Z")

</div>

You might want to have a look here, we’ve seen a few cases where reverse proxy’s in front of artifactory caused this: [https://issues.sonatype.org/browse/NEXUS-8745](https://issues.sonatype.org/browse/NEXUS-8745)
