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 [P,L]
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
Dion