Skip to content

Instantly share code, notes, and snippets.

@jcode
Created October 10, 2012 22:54
Show Gist options
  • Save jcode/3869055 to your computer and use it in GitHub Desktop.
Save jcode/3869055 to your computer and use it in GitHub Desktop.
Apache2 Reverse Proxy
a2enmod proxy
a2enmod proxy_http
...in the virtualhost add this lines...
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://192.168.1.193/
ProxyPassReverse / http://192.168.1.193/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment