IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
瀏覽代碼

Better way for initial run of certbot

master
父節點
當前提交
a18eb75f47
共有 2 個檔案被更改,包括 1 行新增3 行删除
  1. +1
    -0
      example/gateway/certbot/files/crontab_nobody
  2. +0
    -3
      example/gateway/focker-compose.yml

+ 1
- 0
example/gateway/certbot/files/crontab_nobody 查看文件

@@ -1 +1,2 @@
@reboot /usr/local/bin/python3 /certbot/scripts/certbot.py >/dev/null 2>&1
@weekly /usr/local/bin/certbot renew --webroot -w /certbot/webroot --server https://127.0.11.1:14000 --no-verify-ssl -n --agree-tos >/dev/null 2>&1

+ 0
- 3
example/gateway/focker-compose.yml 查看文件

@@ -33,9 +33,6 @@ jails:
mounts:
certbot-data: /usr/local/etc/letsencrypt
certbot-webroot: /certbot/webroot
exec.start: |
( /usr/bin/su -m nobody -c "python3 /certbot/scripts/certbot.py" && \
/bin/sh /etc/rc ) &
nginx-https:
image: nginx-https


Loading…
取消
儲存