module-nginx/tests/vhost.pp
Hunter Haugen e419006b74 Add try_files option
Nginx supports a  option via http://wiki.nginx.org/HttpCoreModule#try_files and this adds this as a parameter
2012-11-08 14:15:28 -08:00

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',
}