Create nginx config from template