Apache and Node - nazimboudeffa/nazimboudeffa.github.io GitHub Wiki
sudo a2enmod proxy proxy_http
<VirtualHost *:80>
ServerName gfngames.com
ServerAlias www.gfngames.com
ProxyRequests On
<Location />
ProxyPass http://localhost:3000/
ProxyPassReverse http://localhost:3000/
</Location>
ServerAdmin webmaster@localhost
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
sudo service apache2 restart