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 contents should be proxied more efficiently 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 checkbox 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.

figs/web/smart-proxy-repo-list-hosted.png

Figure 7.4. Smart Proxy Settings for a Hosted Repository


On the Nexus instance subscribing to the publishing server you have to create a new proxy repository to expose the proxied components. 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 checkbox in the Subscribe configuration section. 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.

figs/web/smart-proxy-repo-list-proxy.png

Figure 7.5. Smart Proxy Settings for a Proxy Repository