SSL for Dokku app with Let's Encrypt

To add SSL support for your dokku app, first, install Let's Encrypt plugin, this can be done once:

sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git

Then, assuming you already have your app setup with the name voz.

Add Let's Encrypt support to the app:

dokku letsencrypt <app-name>

Before this step, you might want to add your email first:

dokku config:set --no-restart myapp [email protected]

Your app will be automatically restarted and new cert will be working.

Date: 2019-02-04 Mon 00:00

Author: Huy Tran

Created: 2019-04-22 Mon 14:41