sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
215 stars 82 forks source link

Using with reverse proxy #36

Open golovanovya opened 5 years ago

golovanovya commented 5 years ago

Hello, I'm trying to use the composer plugin through a reverse proxy. The packages.json file contains option "providers-url":"http://localhost:8081/nexus/repository/composer-packagist/p/%package%.json" But the providers-url must contain address a proxy server.

derari commented 5 years ago

Did you configure the base url? https://help.sonatype.com/repomanager2/configuration/customizing-server-configuration#CustomizingServerConfiguration-ApplicationServerSettings

golovanovya commented 5 years ago

Yes, I tried different options of settings, including this one. I think the issue can be closed because I now do not have access to the instance of the nexus repository for which it opened.