module-nginx/tests/vhost_ssl.erb

18 lines
363 B
Text
Raw Normal View History

2011-06-07 00:38:40 +02:00
include nginx
nginx::resource::vhost { 'test2.local':
ensure => present,
www_root => '/var/www/nginx-default',
ssl => 'true',
ssl_cert => '/tmp/server.crt',
ssl_key => '/tmp/server.pem',
}
nginx::resource::location { 'test2.local-bob':
ensure => present,
www_root => '/var/www/bob',
location => '/bob',
vhost => 'test2.local',
}