PHP scripts to create nginx config files from templates