title: ERR_SSL_PROTOCOL_ERROR after adding certbot SSL on nginx
body: <p>I configured Nginx and my website was working correctly on HTTP but since I am using <em>react-webcam</em> and it needs secure connection (HTTPS) to access camera, I had to add SSL.</p>
  <ul>
  <li>My stack is MERN</li>
  <li>Domain is from GoDaddy</li>
  <li>Deployed on Digital Ocean droplet</li>
  <li>Server is Nginx</li>
  </ul>
  <p>and I add SSL using <strong>certbot on nginx</strong> but right after that my website stopped working and giving me following error:</p>
  <p><code>net::ERR_SSL_PROTOCOL_ERROR</code></p>
  <p>I am not sure why is it happening,</p>
  <ul>
  <li>Is it because certbot SSL on Nginx ?</li>
  <li>Is it the way I am accessing my server from react using <code>https://mywebsite.info:8080</code> ?</li>
  </ul>
  <p>I have already spent 2 days trying to figure out but can't. Please any help would be appreciated. Thanks in advance</p>