速查表/记事本
速查表
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' |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 🌧️ 栗山未来!