Last active
August 29, 2015 14:00
-
-
Save morganney/11120666 to your computer and use it in GitHub Desktop.
Example of an Apache reverse proxy configuration for socoapi
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
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerName myapp | |
| DocumentRoot /path/to/myapp/doc/root | |
| ProxyPreserveHost On | |
| ProxyPass /socoapi http://127.0.0.1:3535 | |
| ProxyPass / http://127.0.0.1:3000/ | |
| ProxyPassReverse / http://127.0.0.1:3000/ | |
| ProxyPassReverse /socoapi http://127.0.0.1:3535 | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment