Ssl not being accessible with nginx server

My domain is:

My web server is (include version): Ubuntu 20.04

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is: amazon web services

I can login to a root shell on my machine (yes or no, or I don't know): yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): Certbot 1.13.0

I have followed the instructions as followed in: Certbot - Ubuntufocal Nginx

This is my sites-enabled/default:

I'm kind of lost and I can't figure out why is not working. Is it because my domain is a top level domain which ends with .app?

It only shows the content in my domain if my domain is SSL. Using the IP of the instance works perfectly if I change return 301 to

location / {
   proxy_pass http://localhost:4000;


http works with a correct redirect, https has a timeout.

There is a firewall and something like a "security group". You must allow port 443 in that security group. Check that.

If that doesn't help: Works https from that machine?


Thank you very much, in the end the issue was not with letsnecrypt but with my lack of knowledge. I didn't add a https security group in amazon. Thanks a lot! Now I can sleep :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.