Skip to content

Instantly share code, notes, and snippets.

@soupmatt
Created July 1, 2011 13:51
Show Gist options
  • Save soupmatt/1058580 to your computer and use it in GitHub Desktop.
Save soupmatt/1058580 to your computer and use it in GitHub Desktop.
Apache reverse proxy config for pow
<VirtualHost *:80>
ServerName pow
ServerAlias *.dev
ServerAlias *.xip.io
ProxyPass / http://localhost:20559/
ProxyPassReverse / http://localhost:20559/
ProxyPreserveHost On
</VirtualHost>
@bobbdelsol
Copy link

I know i'm poking in the dark a bit here, but I've set pow and nginx up per Ryan Bates RailsCast #357. Work great, but of course POW hijacks the localHost. I'm using my localhost http://127.0.0.1 for local storage (simulating my S3 store for production). I've done the revere apache changes, now Apache hijacks the POW ports. i'm sure it's something simple since i'm no webserver expert. Any suggestions. Ryan should include your post in his railscast:)

@allaire
Copy link

allaire commented Nov 21, 2013

Simply add ServerAlias *.ngrok.com for ngrok support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment