From dd3ceb9c0ce5bce17ecb7eab06612f9abd973955 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 22 Sep 2019 10:26:58 +0800 Subject: web/sites: Update certificate paths --- roles/web/templates/sites/liwt.www.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/web/templates/sites/liwt.www.conf.j2') diff --git a/roles/web/templates/sites/liwt.www.conf.j2 b/roles/web/templates/sites/liwt.www.conf.j2 index f13c475..673328e 100644 --- a/roles/web/templates/sites/liwt.www.conf.j2 +++ b/roles/web/templates/sites/liwt.www.conf.j2 @@ -26,8 +26,8 @@ server { server_name www.{{ domain }}; # SSL/TLS Certificate kindly provided by Let's Encrypt - ssl_certificate /usr/local/etc/ssl/acme/{{ domain }}/fullchain.pem; - ssl_certificate_key /usr/local/etc/ssl/acme/private/{{ domain }}.pem; + ssl_certificate {{ web.ssl_root }}/{{ domain }}/fullchain; + ssl_certificate_key {{ web.ssl_root }}/{{ domain }}/key; return 301 $scheme://{{ domain }}$request_uri; } @@ -38,8 +38,8 @@ server { server_name {{ domain }}; # SSL/TLS Certificate kindly provided by Let's Encrypt - ssl_certificate /usr/local/etc/ssl/acme/{{ domain }}/fullchain.pem; - ssl_certificate_key /usr/local/etc/ssl/acme/private/{{ domain }}.pem; + ssl_certificate {{ web.ssl_root }}/{{ domain }}/fullchain; + ssl_certificate_key {{ web.ssl_root }}/{{ domain }}/key; # Website location root /home/www/www; -- cgit v1.2.2