16 lines
338 B
Puppet
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',
|
|
}
|
|
|