Skip to content

Instantly share code, notes, and snippets.

View mohsinaliascend's full-sized avatar

mohsinaliascend

View GitHub Profile
@mohsinaliascend
mohsinaliascend / _0__ssl_certbot_letsencrypt.md
Created August 14, 2023 11:04 — forked from maxivak/_0__ssl_certbot_letsencrypt.md
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 \