Trying something to fix the auto ssl renewal process

This commit is contained in:
Jamie Curnow
2018-03-16 10:32:35 +10:00
parent b38e239fa2
commit b324110c49
6 changed files with 47 additions and 18 deletions

View File

@ -6,6 +6,6 @@ server {
access_log /config/logs/letsencrypt.log proxy;
location / {
root <%- root_path %>;
root /config/letsencrypt-acme-challenge;
}
}

View File

@ -14,6 +14,7 @@ server {
<%- typeof block_exploits !== 'undefined' && block_exploits ? 'include conf.d/include/block-exploits.conf;' : '' %>
<% if (typeof ssl !== 'undefined' && ssl) { -%>
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/<%- hostname %>/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/<%- hostname %>/privkey.pem;