How to install a letsencrypt cert with nginx?
<p>I've used <a href="https://letsencrypt.org/" rel="nofollow noreferrer">letsencrypt</a> to install an SSL cert for the latest nginx on ubuntu.
The setup is fine and works great with the exception of:</p>

<p><a href="https://i.stack.imgur.com/e11HV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e11HV.png" alt="enter image description here"></a></p>

<p>I don't know enough about SSL to know what's going on but I have a suspicion:
I installed the SSL cert for Apache a while back and just now moved to Nginx for it's http/2 support. As the nginx plugin is not stable yet I had to install the cert myself and this is what I did:</p>

<p>In my nginx config (<code>/etc/nginx/conf/default.conf</code>) I added:</p>

<pre><code>server {
    listen       80;
    server_name  [domain];
    return 301   https://$host$request_uri;
}

server {
    listen       443 http2;
    listen       [::]:443 http2;
    server_name  [domain];

    ssl on;
    ssl_certificate /etc/letsencrypt/live/[domain]/cert.pem;
    ssl_certificate_key /etc/letsencrypt/live/[domain]/privkey.pem;
}
</code></pre>

<p>Is it possible that this breaks the chain somehow? What is the proper way here?</p>

<p>Thanks guys</p>