I got it working. I just misunderstood how routing worked. I was sending the whole path to the node.js app instead of the /hooks route only for example. Thank youby dionkb - How to...
Hi, I need to do redirect/reroute a request to a node app on a different port to the default http request. This worked with Apache - RewriteRule ^(.*)/hooks$ http://127.0.0.1:3000/$1 How do I implement a similar rewrite in nginx? Do I use location {} or listen on the specified port? Not too sure where to start. Any great tutorials welcome. Thanks Dionby dionkb - How to...
![]() |
![]() |
![]() |
![]() |
![]() |