Repository Management with Nexus
7.4. Repository Specific Smart Proxy Configuration
Once Smart Proxy has been configured and enabled as described above, you have to configure, which repositories' content should be synchronized between the servers. This is done in the Repositories administration interface in a separate configuration tab titled Smart Proxy, which allows you to configure repository specific details as compared to server wide details described above.
On the publishing Nexus server you have to enable Smart Proxy on the desired hosted, virtual or proxy repositories in the repository configuration. This is accomplished by selecting the Publish Updates check-box in the Publish section of the Smart Proxy configuration for a specific repository as displayed in Figure 7.4, “Smart Proxy Settings for a Hosted Repository” and pressing save.
On the Nexus instance subscribing to the publishing server you have to create a new proxy repository to hold the synchronized artifacts. The Smart Proxy configuration for this repository displayed in Figure 7.5, “Smart Proxy Settings for a Proxy Repository” allows you to activate the Receive Updates check-box in the Subscribe configuration section. You can enable pre-fetching the components by selecting Immediately in the Download Updated Artifacts drop-down. The default behaviour is to only download components Upon Request.
With a working trust established between the publishing and subscribing Nexus servers the Smart Proxy configuration of the proxy repository on the subscribing Nexus will display connection status as displayed in Figure 7.6, “Subscription with Smart Proxy Connected”.