{
  if (($letsencrypt{'status'} || 'disabled') eq 'enabled'){
    $OUT .=<<"_EOF";

<Directory /var/lib/dehydrated/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";
  }
}
