All Projects → defunkt → Nginx_config_generator

defunkt / Nginx_config_generator

Licence: mit
Generates nginx config files from YAML.

Programming Languages

ruby
36898 projects - #4 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].