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

The Sidekiq of 8 processes on Heroku Performance Dyno

So…I had the honor of doing some data migration, which happens to be CPU, and memory intensive. I called upon Heroku PX Dyno and the Sidekiq with the wrath of one process and 100 threads. # loading PX with one process and 100 threads $... Continue →