public
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/bmizerany/nginx_config_generator.git
Blake Mizerany (author)
Fri Apr 04 17:50:12 -0700 2008
name age message
file LICENSE Tue Apr 24 01:15:52 -0700 2007 adding in everything [defunkt]
file Manifest Thu Aug 23 18:04:23 -0700 2007 nginx: fix borkd gem [defunkt]
file README Mon May 07 02:55:24 -0700 2007 update nginx config readme [defunkt]
file Rakefile Mon Nov 19 14:15:41 -0800 2007 nginx_config_generator: bump version [defunkt]
directory bin/ Tue Apr 24 02:19:25 -0700 2007 here we go, get this guy in shape [defunkt]
file config.yml Fri Apr 04 17:36:01 -0700 2008 updated for cap deploys [Blake Mizerany]
directory lib/ Fri Apr 04 17:50:12 -0700 2008 quickie for logs [Blake Mizerany]
README
A work in progress.  

Check it: 
  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.

>> Chris Wanstrath
=> chris[at]ozmm[dot]org