diff --git a/manifests/resource/location.pp b/manifests/resource/location.pp index fca744935..c1b2c15e3 100644 --- a/manifests/resource/location.pp +++ b/manifests/resource/location.pp @@ -270,7 +270,7 @@ } else { $content_real = template('nginx/vhost/vhost_location_empty.erb') } - + if $fastcgi != undef and !defined(File[$fastcgi_params]) { file { $fastcgi_params: ensure => present, @@ -292,7 +292,7 @@ } ## Only create SSL Specific locations if $ssl is true. - if ($ssl == true) { + if ($ssl == true or $ssl_only == true) { $ssl_priority = $priority + 300 $sslTmpFile=md5("${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl")