Monday, 18 February 2019

Routes set up with express and proxy pass on nginx question

Let's say I want my proxy pass to work for just /test. How can I get my routes to show up as /test/route1 /test/route2 without putting the /test part in express and only making the routes route1 route2. Basically I want the node.js part of my website to be under /test and I want express to work regardless of where I put it.

Submitted February 18, 2019 at 08:09PM by 0xabcde

No comments:

Post a Comment