public
Rubygem
Fork of defunkt/nginx_config_generator
Description: Generates nginx config files from YAML.
Homepage: http://errtheblog.com/posts/52-nginx-config-like-whoa
Clone URL: git://github.com/mattly/nginx_config_generator.git
mattly (author)
Sat Jul 05 03:46:59 -0700 2008
commit  9057034a496fb12bce495c91e7cd6b0d9439cd4b
tree    fbc5d062dc720090752d70a4ef24c202823fe389
parent  447348be7ea53d8dca7d3df4d10f1fcd54c31046
name age message
file .gitignore Sat Jul 05 03:35:55 -0700 2008 mo better gemspec, ignore local builds of the gem [mattly]
file LICENSE Sat Jul 05 01:30:19 -0700 2008 update Readme and License [mattly]
file Manifest Thu Aug 23 18:04:23 -0700 2007 nginx: fix borkd gem [defunkt]
file README Sat Jul 05 01:30:19 -0700 2008 update Readme and License [mattly]
file Rakefile Sat Jul 05 02:15:28 -0700 2008 empty rakefile because gem build seems to need it [mattly]
directory bin/ Tue Apr 24 02:19:25 -0700 2007 here we go, get this guy in shape [defunkt]
directory lib/ Sat Jul 05 02:06:23 -0700 2008 dont specify 404 by default [mattly]
file nginx_config_generator.gemspec Sat Jul 05 03:46:59 -0700 2008 require bin as well [mattly]
README
A work in progress.  

The original version: 
  http://errtheblog.com/post/3908

Use it: 
  $ generate_nginx_config nginx_config.yml /etc/nginx.conf

See an example config file:
  $ generate_nginx_config --example

You can set two environment variables:  
  - NGINX_CONFIG_YAML to specify the YAML config file 
  - NGINX_CONFIG_FILE to specify the nginx config file

By default, generate_nginx_config won't overwrite your OUT file.  To rock this behavior,
pass in --overwrite or -o or -y or --force or -f.  Whichever.

original by:
>> Chris Wanstrath
=> chris[at]ozmm[dot]org

new template and configuration options by:
>> Matthew Lyon
=> matt[at]flowerpowered[dot]com