選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

050-letsencrypt 308B

123456789101112131415
  1. host="${1}"
  2. root_dir="${2}"
  3. conf_conf="${3}"
  4. conf_include="${4}"
  5. site_conf="${5}"
  6. site_include="${6}"
  7. count=$(grep -ci SSLCertificateFile ${site_conf})
  8. if [ "${count}" -ge 1 ]
  9. then
  10. echo "SSL found; generating certificate..."
  11. sitegen --cert-request "${host}"
  12. else
  13. echo "No SSL found; doing nothing"
  14. fi