The guide explains how to set up Let’s Encrypt SSL for self-hosted Dify to ensure end-to-end encryption and browser trust.
Prerequisites include having a domain, open ports 80 & 443, Docker v24, Compose v2, and the Dify repository.
Steps involve patching the .env file, pruning stray Docker networks, launching the stack with the Certbot profile, running Certbot inside its container, and enabling HTTPS.
Verification involves recreating Nginx, checking for the green padlock, and renewing certificates manually or using Certbot's built-in cron.