We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like this in docker-entrypoint.sh
docker-entrypoint.sh
if [[ "${LETSENCRYPT}" == "true" ]]; then echo "Installing Certbot" apk add --no-cache certbot \ && certbot certonly --standalone --agree-tos -m "${CERTBOT_EMAIL}" -n -d ${DOMAIN_LIST} \ && echo "certbot renew --dry-run --nginx >> /var/log/cron.log 2>&1" >/etc/periodic/daily/certbot-renew # run crond in the background with a log level of 8 crond -b -l 8 fi
Then
{%- if LETSENCRYPT == 'true' and NGINX_SERVER_NAME %} server_name {{ NGINX_SERVER_NAME }}; listen 0.0.0.0:{{ env('NGINX_HTTPS_PORT', '443') }} ssl; ssl_certificate /etc/letsencrypt/live/{{ NGINX_SERVER_NAME }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ NGINX_SERVER_NAME }}/privkey.pem; {%- endif %}
In site.conf?? Something to consider
site.conf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something like this in
docker-entrypoint.sh
Then
In
site.conf
?? Something to considerThe text was updated successfully, but these errors were encountered: