#!/bin/sh if [ -f .env ]; then . ./.env else . ./.env.example fi # --- echo 'Installing Certbot...' apt-get install -y certbot python3-certbot-nginx if ![$LT_DOMAIN = "_" ]; then certbot --nginx -d $LT_DOMAIN else echo 'Please set the $LT_DOMAIN variable in the .env file to your domain name.' exit 1 fi echo 'Done! Now you have SSL enabled on your LibreTranslate instance.'