Skip to content

Adding a proxy host to the npm main page returns "502 Bad Gateway". #2459

Answered by Frenzoid
Frenzoid asked this question in Q&A
Discussion options

You must be logged in to vote

Solved: The issue was the redirect scheme, by default npm uses HTTP on port 81, and I was telling nginx to redirect it to https://container:81

Fixed it by changing the scheme from https to HTTP.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Frenzoid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant