Nginx virtual server template

I want to edit nginx server template. I want every new virtual server created to use some specific nginx server configs and location settings. Where can i find it?