Nodejs for processing js and Nginx for handling everything else
- by Kevin Parker
I am having a nodejs running on port 8000 and nginx on port 80 on same server.
I want Nginx to handle all the requests(image,css,etc) and forward js requests to nodejs server on port 8000.
Is it possible to achieve this. i have configured nginx as reverse proxy but its forwarding every request to nodejs but i want nginx to process all except js.
…