|
@@ -1,6 +1,6 @@
|
|
|
include nginx
|
|
|
|
|
|
-nginx::resource::vhost { 'test.local':
|
|
|
+nginx::resource::vhost { 'test.local test':
|
|
|
ensure => present,
|
|
|
ipv6_enable => true,
|
|
|
proxy => 'http://proxypass',
|
|
@@ -9,7 +9,7 @@ nginx::resource::vhost { 'test.local':
|
|
|
nginx::resource::vhost { 'test.local:8080':
|
|
|
ensure => present,
|
|
|
listen_port => 8080,
|
|
|
- server_name => 'test.local',
|
|
|
+ server_name => ['test.local test'],
|
|
|
ipv6_enable => true,
|
|
|
proxy => 'http://proxypass',
|
|
|
}
|