A dehydrated (ACME client) integration on SME Server
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.
 
 

19 lines
361 B

{
if (($letsencrypt{'status'} || 'disabled') eq 'enabled'){
$OUT .=<<"_EOF";
<Directory /var/lib/letsencrypt.sh/challenges>
Options None
AllowOverride None
Order deny,allow
Deny from all
Allow from all
Header set Content-Type "application/jose+json"
</Directory>
_EOF
}
else{
$OUT .= "# Letsencrypt is disabled\n";
}
}