速查表

gitlab

序号 标题 命令
1 清理 registry docker exec -it gitlab gitlab-ctl registry-garbage-collect -m

acme.sh

序号 标题 命令
1 安装 curl https://get.acme.sh | sh
source .bashrc
2 默认 CA acme.sh --set-default-ca --server letsencrypt
3 申请证书 acme.sh --issue -d lswl.in -d *.lswl.in --dns dns_cf
4 安装证书 acme.sh --install-cert -d *.lswl.in --key-file /usr/local/nginx/conf/ssl/lswl.in/lswl.in.key --fullchain-file /usr/local/nginx/conf/ssl/lswl.in/lswl.in.cer --reloadcmd 'systemctl reload nginx'