scratch-www/server/nginx.js
2015-09-16 15:14:54 -04:00

5 lines
178 B
JavaScript

var routes = require('./routes.json');
var nginx_conf = require('routes-to-nginx-conf');
nginx_conf.generate_nginx_conf( routes, function ( v ) { process.stdout.write(v); } );