/nginx-osx

[no longer in use] This is a gem for running nginx locally for development. You can either use it with passenger or mongrel. See readme and help for more.

Primary LanguageRubyMIT LicenseMIT

nginx-osx

Use nginx in development on multiple projects with ease. Supports nginx -> mongrel and nginx -> passenger configurations. Also installs nginx and passenger for you to ease setup.

Install

sudo gem install nginx-osx
sudo nginx-osx install
sudo nginx-osx setup

Usage

In your rails project for passenger to access from project.local:

sudo nginx-osx add --passenger --host project.local
sudo nginx-osx start

In your rails project for mongrel using just localhost:

sudo nginx-osx add
nginx-osx make_current
nginx-osx start

Help

nginx-osx help

Copyright © 2009 Gabe Varela. See LICENSE for details.