Skip to content

Instantly share code, notes, and snippets.

@WenLiangTseng
Created March 1, 2016 03:46
Show Gist options
  • Save WenLiangTseng/4936eccd30527a7fd08c to your computer and use it in GitHub Desktop.
Save WenLiangTseng/4936eccd30527a7fd08c to your computer and use it in GitHub Desktop.
Node.js, Apache, subdomain setting example
// reference: http://stackoverflow.com/a/19785468/2253749
<VirtualHost *:80>
ServerName subdomain.yourdomain.com
ProxyPreserveHost on
ProxyPass / http://localhost:8080/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment