Skip to content

Instantly share code, notes, and snippets.

@pmanijak
Created December 3, 2012 11:19
Show Gist options
  • Select an option

  • Save pmanijak/4194272 to your computer and use it in GitHub Desktop.

Select an option

Save pmanijak/4194272 to your computer and use it in GitHub Desktop.
Route Apache folder to NodeJS instance
# Apache:
# Set up http://mydomain.com/data to route to NodeJS at port 3000 on the same machine.
#
# Do this in your .conf file:
<Location /data>
ProxyPassReverse http://localhost:3000/data
ProxyPass http://localhost:3000/data
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment