Skip to content
Generates nginx config files from YAML. http://errtheblog.com/posts/52-nginx-config-like-whoa
Ruby
Find file
Pull request Compare This branch is 16 commits ahead, 2 commits behind defunkt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
LICENSE
Manifest
README
Rakefile
nginx_config_generator.gemspec

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
Something went wrong with that request. Please try again.