Skip to content

Instantly share code, notes, and snippets.

@boo1ean
Last active December 17, 2015 17:49
Show Gist options
  • Save boo1ean/5649082 to your computer and use it in GitHub Desktop.
Save boo1ean/5649082 to your computer and use it in GitHub Desktop.
Apache2 port forwarding
<VirtualHost *:80>
ServerName your-domain.com
RewriteEngine On
RewriteRule ^(.*)$ http://localhost:4000$1 [P]
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment