I am currently having two nginx servers and an AWS load balancer in front of them. The static content is served with nginx. Can I use nodejs for the application logic and routing. I dont want to use nginx as a reverse proxy.
You can create two target groups, one for each application.
Then use the AWS Application Load Balance to manage your requests.
In the Application Load Balance you must configure the listeners to forward the request to the correct target group.