You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
381 B
13 lines
381 B
{
|
|
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/
|
|
<Location /.well-known/acme-challenge/>
|
|
Allow from all
|
|
</Location>
|
|
_EOF
|
|
}
|
|
else{
|
|
$OUT .= "# Support for Letsencrypt is disabled on this domain\n";
|
|
}
|
|
}
|
|
|