Question

Deploy Reactapp using Docker, SSL & NGINX

Posted November 8, 2021 98 views
NginxNode.jsDigitalOceanDockerBuilding on DigitalOcean

I have Done theConfigurations in DockerFile and default.conf file, my code is running on port 80 i.e, http. but when i try to open it in https the website is not showing up, i used nginx reverse proxy for this.

error : This site can’t be reached - this is the error im getting.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hey there!

It sounds like Nginx may not be fully configured to accept the HTTPS traffic. You may want to ensure that a SSL is correctly configured to work with Nginx. This Nginx Letsencrypt guide should help get that fully configured.

Hope it helps!
Nate

by Brian Boucheron
Let's Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Ubuntu 20.04, and set up your certificate to renew automatically.