Skip to content

Network & SSL

SSL is enabled by default. Certificate are automatically renewed using Certbot.

Setup

On the initial setup we need to request a certificate.

Replace the domain name and email with your own.

1
2
3
4
5
6
7
docker compose run --rm certbot certonly \
  --webroot \
  -w /var/www/certbot \
  -d example.com \
  --email you@example.com \
  --agree-tos \
  --no-eff-email

THen restart the server to load the new certificate.

1
docker compose exec nginx nginx -s reload