title: Nginx SSL configuration not working on mobile browsers
body: <p>I've set up an Nginx server serving ssl, with an http server block redirecting to a secured server block. The certificate is issued by my domain provider (1&amp;1). It works perfectly fine on most desktop browsers, but I get an SSL_ERROR_INTERNAL_ERROR_ALERT on Firefox on mobile, and an ERR_SSL_PROTOCOL_ERROR on Chrome mobile (Android Pie).</p>
  
  <p>Here is the nginx configuration:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>server {
           listen 80 deferred;
           listen [::]:80 deferred;
           server_name meetoko.com www.meetoko.com;
  
           return 301 https://meetoko.com$request_uri;
   }
  
  
  server {
  
           listen 443 ssl;
           listen [::]:443 ssl;
  
          ssl on;
          ssl_certificate                 /etc/ssl/meetoko.com.pem;
          ssl_certificate_key             /etc/ssl/meetoko.com.key;
  
          root /var/www/html;
          
          server_name meetoko.com;
          server_name  www.meetoko.com;
          try_files $uri $uri/ /index.html;
  
          location / {
                  try_files $uri $uri/ /index.html;
          }
  
          location /api/ {
                  proxy_pass http://localhost:3000;
                  proxy_http_version 1.1;
          }
  
  
          location /public/ {
                  alias /root/oko-back/public/;
          }
  }
  
                                                                                    </code></pre>
  </div>
  </div>
  </p>
  
  <p>The .pem key is a concatenation of the primary and the intermediate issued certificates, and the .key is the private key.</p>
  
  <p>All was working well before going to HTTPS on both mobiles and desktop, so it's hard to figure out what might be wrong... Any ideas?</p>
  
  <p>Thanks !</p>