nginx pow coexistence
I am a user of
Pow, is a zero-config Rack server for Mac OS X…serving your apps locally in under a minute
and
nginx, [engine x] is an HTTP and reverse proxy server
Now, pow is good for rack app but nothing else. But if nginx sits in front of pow, then awesome stuff happens. Here is the gist of it.
- configure nginx so that *.dev is passed to pow
- sudo launchctl unload -w /Library/LaunchDaemons/cx.pow.firewall.plist
- sudo launchctl load -w /Library/LaunchDaemons/nginx.plist
Now, you can have SSL, or play with php development along with rack apps. Profit!