Skip to content

Instantly share code, notes, and snippets.

View samandeggs's full-sized avatar

samandeggs samandeggs

View GitHub Profile
@maxivak
maxivak / _0__ssl_certbot_letsencrypt.md
Last active June 1, 2025 16:28
Let's encrypt SSL certificates using certbot in docker

Directories on host machine:

  • /data/certbot/letsencrypt

  • /data/certbot/www

  • Nginx server in docker container

docker run -d --name nginx \