From d4b1af0af459ae4db6c95a20e94e10bd45f36fa2 Mon Sep 17 00:00:00 2001 From: Mosen Date: Thu, 14 May 2015 16:55:11 +1000 Subject: [PATCH] Fix unnecessary comparison against boolean in vhosts/standard.tmpl --- apache/vhosts/standard.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache/vhosts/standard.tmpl b/apache/vhosts/standard.tmpl index bf91a26..71b5936 100644 --- a/apache/vhosts/standard.tmpl +++ b/apache/vhosts/standard.tmpl @@ -48,10 +48,10 @@ {% if site.get('DocumentRoot') != False %}DocumentRoot {{ vals.DocumentRoot }}{% endif %} {% if site.get('VirtualDocumentRoot') %}VirtualDocumentRoot {{ vals.VirtualDocumentRoot }}{% endif %} - {% if site.get('SSLCertificateFile') != False %} + {% if site.get('SSLCertificateFile') %} SSLEngine on SSLCertificateFile {{ site.SSLCertificateFile }} - {% if site.get('SSLCertificateKeyFile') != False %} + {% if site.get('SSLCertificateKeyFile') %} SSLCertificateKeyFile {{ site.SSLCertificateKeyFile }} {% endif %} {% endif %}