Apache2 proxy pass to nodejs app

Enable proxy modules:

a2enmod proxy
a2enmod proxy_http

Setup the vhost. I like to name my project for dev like this

<VirtualHost *:80<
    ServerAdmin webmaster@localhost
    ProxyPass / http://localhost:3000/
    #LogLevel info ssl:warn

    ErrorLog ${APACHE_LOG_DIR}/VHOSTNAME-error.log
    CustomLog ${APACHE_LOG_DIR}/VHOSTNAME-access.log combined


And the most easy way to link the i add a line in /etc/hosts