Skip to content

Instantly share code, notes, and snippets.

@dorfire
Created November 18, 2012 10:30
Show Gist options
  • Save dorfire/4104494 to your computer and use it in GitHub Desktop.
Save dorfire/4104494 to your computer and use it in GitHub Desktop.
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerName pow
ServerAlias *.dev
ServerAlias *.xip.io
ProxyPass / http://localhost:20559/
ProxyPassReverse / http://localhost:20559/
ProxyPreserveHost On
</VirtualHost>
<VirtualHost 127.0.0.1:80>
# Stops Pow from snatching requests on port 80
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment