diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/80Letsencrypt b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/80Letsencrypt index 4a8d1ff..6478c43 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/80Letsencrypt +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/80Letsencrypt @@ -1,13 +1,4 @@ -{ - if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){ - $OUT .=<<"_EOF"; Alias /.well-known/acme-challenge/ /var/lib/letsencrypt.sh/challenges/ Allow from all -_EOF - } - else{ - $OUT .= "# Support for Letsencrypt is disabled on this domain\n"; - } -} diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/80Letsencrypt b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/80Letsencrypt index 4a8d1ff..6478c43 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/80Letsencrypt +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/80Letsencrypt @@ -1,13 +1,4 @@ -{ - if (($domain->prop('Letsencrypt') || 'enabled') ne 'disabled' && ((${'httpd-e-smith'}{'TCPPort'} || '80') eq $port)){ - $OUT .=<<"_EOF"; Alias /.well-known/acme-challenge/ /var/lib/letsencrypt.sh/challenges/ Allow from all -_EOF - } - else{ - $OUT .= "# Support for Letsencrypt is disabled on this domain\n"; - } -}