Created
December 3, 2012 11:19
-
-
Save pmanijak/4194272 to your computer and use it in GitHub Desktop.
Route Apache folder to NodeJS instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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