gitlab-letsencrypt-hexo
v1.0.3
Published
Generate a Let's Encrypt certificate for GitLab.com hosted pages
Downloads
123
Readme
gitlab-lensencrypt-hexo
Used to auto renew let's encrypt certificate for gitlab-hosted blogs that built with hexo.This project is modifed from gitlab-letsencrypt.
prerequisite
You need hexo-processor-static to make gitlab-letsencrypt-hexo
work.
install
npm install -g gitlab-letsencrypt-hexo
use
gitlab-le-hexo \
--email [email protected] `# Let's Encrypt email address` \
--domain example.com `# Domain that the cert will be issued for` \
--repository gitlab_user/gitlab_repo `# Namespaced repository identifier` \
--token ... `# GitLab personal access token, see https://gitlab.com/profile/personal_access_tokens` \
--path ... `# Path to put the challenge file,default is source/_static/.well-known/acme-challenge/`