Skip to content

Instantly share code, notes, and snippets.

@crazyrohila
Last active January 19, 2017 09:46
Show Gist options
  • Save crazyrohila/5ae2b81f752fdb0e5e74ffd0164c3ab1 to your computer and use it in GitHub Desktop.
Save crazyrohila/5ae2b81f752fdb0e5e74ffd0164c3ab1 to your computer and use it in GitHub Desktop.
Forward 3000 to 80
<VirtualHost *:80>
ServerName mysite.com
DocumentRoot /var/www/html/mysite/
DirectoryIndex index.php index.html
ProxyPass / http://localhost:3000/
#ErrorLog ${APACHE_LOG_DIR}/error.log
ErrorLog ${APACHE_LOG_DIR}/hcah-error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment