You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a whole day on this and I'd like to share what I did so when others search here, they find a solution. I'm not sure if this the best possible place, so please direct me to the correct place if not. :)
Definitely more complex than what I had to do getting it to work with a general purpose proxy a year ago - haven't seen this solution before, but it's like the 3 or 4 time I've seen these issues posted (nginx proxy / scoped variables). Thankfully nothing has require more than 2 or 3 lines of code (although it's tricky). I wish there was like a wiki or something posted on the Readme at least to let people know how to work around the proxies the scoped variables - I was able to do it a year ago by changing small part of the express app and the config.yml, but anyways thanks for sharing this - it bypasses having to modify the source and fork this library
I spent a whole day on this and I'd like to share what I did so when others search here, they find a solution. I'm not sure if this the best possible place, so please direct me to the correct place if not. :)
Scenario:
You want to use nginx, scopes(@Company), and relative path (https://companydomain.com/sinopia) to sinopia.
What you have to do is smartly edit your nginx.conf
The if statement doesn't rewrite your "%2f" into a "/". You need this because you want to pass your packages as @scope%2fPACKAGENAME.
The text was updated successfully, but these errors were encountered: