diff options
author | Aaron LI <aly@aaronly.me> | 2019-09-22 10:26:58 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-09-22 10:26:58 +0800 |
commit | dd3ceb9c0ce5bce17ecb7eab06612f9abd973955 (patch) | |
tree | 3d225679d3f7fcd6b2cf7ffb5b914f39f0a3c5f9 /roles/web/templates/sites/liwt.www.conf.j2 | |
parent | 9dd199d6349a7f521d98a7de4ef680a5f782e1c9 (diff) | |
download | ansible-dfly-vps-dd3ceb9c0ce5bce17ecb7eab06612f9abd973955.tar.bz2 |
web/sites: Update certificate paths
Diffstat (limited to 'roles/web/templates/sites/liwt.www.conf.j2')
-rw-r--r-- | roles/web/templates/sites/liwt.www.conf.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
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; |