#!/bin/bash # Configure Let's Encrypt SSL set -e source .env echo "=== Configuring SSL with Let's Encrypt ===" # Backup original config sudo cp /etc/gitlab/gitlab.rb /etc/gitlab/gitlab.rb.backup # Configure Let's Encrypt sudo bash -c "cat >> /etc/gitlab/gitlab.rb" <