module-nginx/tests/vhost.pp
Sander Hoentjen 4bcb0993c1 linting
2013-05-08 14:15:42 +02:00

16 lines
338 B
Puppet

include nginx
nginx::resource::vhost { 'test.local':
ensure => present,
ipv6_enable => true,
proxy => 'http://proxypass',
}
nginx::resource::vhost { 'test.local:8080':
ensure => present,
listen_port => 8080,
server_name => 'test.local',
ipv6_enable => true,
proxy => 'http://proxypass',
}