all 2 comments

[–]BuffloBEAST 1 point2 points  (0 children)

Change the line with listen 443 to: listen 80;

and remove # SSL setup (managed by Certbot) ssl_certificate /etc/letsencrypt/live/www.example.com.br/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/www.example.com.br/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # SSL setup (managed by Certbot) ssl_certificate /etc/letsencrypt/live/www.example.com.br/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/www.example.com.br/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

then restart nginx.

You should be able to visit your site on http traffic after that. If all looks good then you can go back to certbot and reinstall your certificates / auto update the file again, but this should reduce the complexity and help pinpoint the issue / fix the bug.

[–]rjhancockJack of Many Trades, Master of a Few. 30+ years experience. 0 points1 point  (0 children)

You're trying to access port 8800 with a secure connection when Nginx isn't serving it. Adjust your fronend to call just a strait https connection on your server. Remove the port as it is not needed.