This is the default example configuration of virtual.conf provided by nginx. This config file was generated by nginx running on CentOS 6.
It is located under: /etc/nginx/conf.d/virtual.conf
#
# A virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
Download the raw file with wget or curl
wget -O virtual.conf.example http://exampleconfig.com/static/raw/nginx/centos6/etc/nginx/conf.d/virtual.conf
curl http://exampleconfig.com/static/raw/nginx/centos6/etc/nginx/conf.d/virtual.conf > virtual.conf.example
Other config files you might find useful