Skip to content

Instantly share code, notes, and snippets.

@roy
Created October 10, 2011 07:52
Show Gist options
  • Save roy/1274827 to your computer and use it in GitHub Desktop.
Save roy/1274827 to your computer and use it in GitHub Desktop.
reverse proxy
<VirtualHost *>
ServerAdmin email@example.com
ServerAlias myurl.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://192.168.1.5:20559/
ProxyPassReverse / http://192.168.1.5:20559/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment