Skip to content

Instantly share code, notes, and snippets.

View TusharDahibhate's full-sized avatar
💭

Tushar Dahibhate TusharDahibhate

💭
  • Qualcomm
  • San Diego
View GitHub Profile
@TusharDahibhate
TusharDahibhate / letsencrypt_2020.md
Created September 6, 2021 22:35 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

@TusharDahibhate
TusharDahibhate / 2019-https-localhost.md
Created September 6, 2021 22:35 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).