nGinxxer is a configuration generator for nGinx.
Takes a JSON as input and outputs formatted nGinx configuration. Flexible JSON structure allows new directives to be added as nGinx matures without changing code.
nGinxxer.getNGinxConfigurationString(String jsonString)
$ mvn clean compile assembly:single
$ java -jar target/nginxxer.jar <input_json> <output_nginx_conf>
Example
$ java -jar target/nginxxer.jar src/test/resources/com/myseriousorganization/nginx/sample_input.json /tmp/nginx.conf
which will output https://raw.githubusercontent.com/crazysoftwarecoder/nGinxxer/master/src/test/resources/com/myseriousorganization/nginx/sample_nginx.conf
As nGinx configuration matures, the puppet manifest and erb templates have to change to accomodate new configuration directives. Not scalable because nGinx is in a period of rapid growth right now.