e419006b74
Nginx supports a option via http://wiki.nginx.org/HttpCoreModule#try_files and this adds this as a parameter
16 lines
342 B
Puppet
16 lines
342 B
Puppet
include nginx
|
|
|
|
nginx::resource::vhost { 'test.local':
|
|
ensure => present,
|
|
ipv6_enable => 'true',
|
|
proxy => 'http://proxypass',
|
|
}
|
|
|
|
nginx::resource::vhost { 'test.local:8080':
|
|
listen_port => 8080,
|
|
server_name => 'test.local',
|
|
ensure => present,
|
|
ipv6_enable => 'true',
|
|
proxy => 'http://proxypass',
|
|
}
|
|
|