Repository proxy settings

Updated at:

Alibaba Cloud DevOps Packages can proxy external repositories so that missing packages are automatically downloaded from a configured upstream source.

Repository proxy settings

When you request a package that does not exist in Packages, it is automatically downloaded from a configured proxy repository. You can proxy an Alibaba Cloud public repository or a private repository.

Note
  • Packages can proxy multiple external repositories, but you cannot proxy another Packages repository.

  • When you proxy a private repository, ensure it is publicly accessible.

  • Currently, Npm repositories in Packages automatically proxy the Npm mirror site. You can also configure other remote repositories.

As a repository administrator, select the target repository, go to , configure the proxy repository details, and click Bind.

In the Bind Proxy Repository dialog box, select Alibaba Cloud public repository as the proxy repository type, select central from the repository drop-down list, confirm the Alibaba Cloud repository URL (https://maven.aliyun.com/repository/central) and the source repository URL, and click OK.

Important

If the connection to the remote repository is poor, downloads from your private repository in Packages may be slow.

The egress IPs for Packages are 39.105.142.57 and 39.105.144.127. If your remote repository uses a network security whitelist, add these IP addresses to it.

Proxy access log

View the repository proxy access log on the Proxy Settings page.