From aab5f95960008aa88f76c56f3821d543e6a791f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Wed, 16 Jan 2019 17:02:30 +0100 Subject: [PATCH] Let's Encrypt ssl_trusted_certificate fix fixes #59 --- public/templates/conf/sites-available/example.com.conf.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/templates/conf/sites-available/example.com.conf.html b/public/templates/conf/sites-available/example.com.conf.html index f0dd4bc..7bfb096 100644 --- a/public/templates/conf/sites-available/example.com.conf.html +++ b/public/templates/conf/sites-available/example.com.conf.html @@ -30,7 +30,7 @@ server { - ssl_trusted_certificate /etc/letsencrypt/live/{{ _domain }}/fullchain.pem; @@ -172,7 +172,7 @@ server { ssl_certificate_key {{ getSslCertificateKey(_site) }}; - ssl_trusted_certificate /etc/letsencrypt/live/{{ _domain }}/fullchain.pem; + ssl_trusted_certificate /etc/letsencrypt/live/{{ _domain }}/chain.pem; # disable access_log access_log off; - ssl_trusted_certificate /etc/letsencrypt/live/{{ _domain }}/fullchain.pem; + ssl_trusted_certificate /etc/letsencrypt/live/{{ _domain }}/chain.pem; return 301 http{{ isHTTPS() ? 's' : '' }}://{{ isWWW() ? 'www.' : '' }}{{ _domain }}$request_uri; }