Redirection of request from Tomcat server to Nexus Software repository - Sonatype Nexus Repository - Sonatype Community

Redirection of request from Tomcat server to Nexus Software repository

post by prashu777 on Dec 27, 2021

Hi All,

Background:

Currently we are using tomcat server for exposing its file system (storage of tools/installers) over web. The Tomcat server URLs of these softwares are being used in Bamboo pipelines, Dockerfiles and other places in scripts to download the softwares during the execution.

We are planning to move all the software repositories from Tomcat server to Nexus Software repository. Below is the example of the same.

https://software.dev.org.com/software/xxxx.rpm
https://nexus.dev.org.com/repository/software/xxxx.rpm

Can anybody guide us on routing the traffic from software URLs to Nexus URLs so that we are not required to change in Bamboo Pipelines, Dockerfiles and scripts.

Current version of Nexus which we are using is - OSS 3.32.0-03

Regards

Prashanth

post by mpiggott on Jan 6, 2022

This isn’t something you can do in Nexus, you’d need to use some reverse proxy or other server to redirect to Nexus.

post by prashu777 on Jan 12, 2022

Thank you Matthew for your response. I will check on how we can implement this using reverse proxy.