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.

  1. configure nginx so that *.dev is passed to pow
  2. sudo launchctl unload -w /Library/LaunchDaemons/cx.pow.firewall.plist
  3. sudo launchctl load -w /Library/LaunchDaemons/nginx.plist

Now, you can have SSL, or play with php development along with rack apps. Profit!

 
1
Kudos
 
1
Kudos

Now read this

Financial System Inquiry

Time to exercise your citizenship rights. Here is my Financial System Inquiry Submission on Stability - Addressing too-big-to-fail To David Murray The enactment of United States of America Glass Steagall Act 1933, here in Australia, is... Continue →