automate config.ru creation

creates config.ru file from upstream config template