Skip to content

Instantly share code, notes, and snippets.

@uZer
Created September 16, 2014 11:47
Show Gist options
  • Save uZer/dedcfc05097f985a0b4d to your computer and use it in GitHub Desktop.
Save uZer/dedcfc05097f985a0b4d to your computer and use it in GitHub Desktop.
ProxyPass Apache2
<VirtualHost *:80>
ServerName example.com
ServerSignature Off
<Proxy http://127.0.0.1:5050>
Allow from all
</Proxy>
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:5050/
ProxyPassReverse / http://127.0.0.1:5050/
</IfModule>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment