Solved the problem.In the virtualhost conf file I just added:
ProxyPass http://localhost:3000/ProxyPassReverse http://localhost:3000/
/ at the end of the proxy pass and it worked.