---
title: "Discussion on \"How To Secure Nginx with Let's Encrypt on Ubuntu 20.04\" | Hashnode"
description: "Discussion on \"How To Secure Nginx with Let's Encrypt on Ubuntu 20.04\". Learn to secure your Nginx server with a free Let's Encrypt SSL certificate on Ubuntu 20.04 in five simple steps"
url: "https://hashnode.com/posts/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-2004/6981462181df426d1e826213"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Secure Nginx with Let's Encrypt on Ubuntu 20.04](https://notes.mdrdani.my.id/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-2004?utm_source=hashnode&utm_medium=feed)

Learn to secure your Nginx server with a free Let's Encrypt SSL certificate on Ubuntu 20.04 in five simple steps

Feb 3 · 2 min read · notes.mdrdani.my.id  
Updated Feb 11  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#letsencrypt](https://hashnode.com/tag/letsencrypt)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Muhamad Dani Ramanda](https://hashnode.com/@cehamot)

@cehamot · Indonesia

  
[View profile](https://hashnode.com/@cehamot)

Faith-first DevOps — Automating the world, one pipeline at a time.🫸‍🚀

## Responses 1

Markdown supported · ⌘↵ to post

[Node Edge Ops](https://hashnode.com/@nodeedgeops)

[Oct 30](https://hashnode.com/posts/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-2004/6981462181df426d1e826213/comment/6ae5207d9e7c87c38ce3c85a)

On Ubuntu I keep Certbot renew on a timer and always run nginx -t before reload in the deploy-hook. HTTP-01 failures are usually a missing server\_name or the challenge path getting proxied away from nginx.
