Skip to content

Instantly share code, notes, and snippets.

@morganney
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save morganney/11120666 to your computer and use it in GitHub Desktop.

Select an option

Save morganney/11120666 to your computer and use it in GitHub Desktop.
Example of an Apache reverse proxy configuration for socoapi
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