module-nginx/tests/vhost.pp

17 lines
342 B
Puppet
Raw Normal View History

include nginx
2011-05-25 04:20:48 +02:00
2014-01-14 19:07:17 +01:00
nginx::resource::vhost { 'test.local test':
2014-07-18 04:00:16 +02:00
ensure => present,
ipv6_enable => true,
proxy => 'http://proxypass',
2011-06-07 00:38:40 +02:00
}
nginx::resource::vhost { 'test.local:8080':
2014-07-18 04:00:16 +02:00
ensure => present,
listen_port => 8080,
server_name => ['test.local test'],
ipv6_enable => true,
proxy => 'http://proxypass',
}