You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910 |
- #!/bin/sh
- if [ -n $ENABLE_SSL ]; then
- # exit if any of the required files for renew is missing
- for file in /data/ssl/account.key /data/ssl/domain.csr; do
- [[ ! -f $file ]] && exit
- done
-
- python3 -m acme_tiny --account-key /data/ssl/account.key --csr /data/ssl/domain.csr --acme-dir /run/nginx/challenges > /tmp/cert.crt && mv /tmp/cert.crt /data/ssl/cert.crt
- s6-svc -du /etc/s6/nginx
- fi
|