How to configure proxy servers with puppet nginx?
Use nginx::resource::vhost
The source of the repo you are using gives a breakdown of the commands you will need to use:
https://github.com/puppetlabs/puppetlabs-nginx/blob/master/manifests/resource/vhost.pp