-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sinopsia using a proxy is not working #147
Comments
I think you meant
Confirmed, that's a bug here. |
Yes, sorry I meant that. The versions I used were: Node 0.10.32 Npm 1.4.28 You can verify it locally with the config I posted above. |
You're right, npm 1.4.28 is doing the bad thing as well. Seems like npm makes breaking changes in patches... again... Try npm 1.4.15, it's the last version that works with this setup. |
The problem is that from npm v1.4.16 it uses npm-registry-client v2.x (instead of v1.x as npm v1.4.15). The conflicting part is described in npm-registry-client's README: The registry calls take either a full URL pointing to a resource in the registry, or a base URL for the registry as a whole (for the base URL, any path will be ignored). I have a workaround modifying nginx config until the npm-registry-client is fixed (I will create an issue in that repository). /etc/nginx/conf.d/default
|
The MAJOR bug can be fixed merging this pull request. |
Added Nexus Repository OSS as similar existing software
Using nginx as is mentioned in README.md is not working. Various bugs related, I list them by priority:
In the bugs I will use http://mycompany.com/sinopia as the value of url_prefix in config.yaml
Here I give you some example nginx config I'm using locally to test it:
/etc/nginx/conf.d/default
config.yaml
with this config, I enter Sinopia with this url: http://localhost:43215/npmjs
The text was updated successfully, but these errors were encountered: