diff options
author | crupest <crupest@outlook.com> | 2022-11-19 13:51:07 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-19 13:51:07 +0800 |
commit | a1bd1a5edf58458b9058b170cdd9cb091ddf629c (patch) | |
tree | fea446347784917be394f664cfafbf3b0273574e /template/nginx/static-file.conf.template | |
parent | 93b49552e9bbbeb7158828f6a2e35cf87314ffc5 (diff) | |
download | crupest-a1bd1a5edf58458b9058b170cdd9cb091ddf629c.tar.gz crupest-a1bd1a5edf58458b9058b170cdd9cb091ddf629c.tar.bz2 crupest-a1bd1a5edf58458b9058b170cdd9cb091ddf629c.zip |
Fix nginx conf ssl cert path.
Diffstat (limited to 'template/nginx/static-file.conf.template')
-rw-r--r-- | template/nginx/static-file.conf.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/nginx/static-file.conf.template b/template/nginx/static-file.conf.template index 01054cf..2097302 100644 --- a/template/nginx/static-file.conf.template +++ b/template/nginx/static-file.conf.template @@ -3,8 +3,8 @@ server { listen [::]:443 ssl http2; server_name ${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN}; - ssl_certificate /etc/letsencrypt/live/${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN}/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN}/privkey.pem; + ssl_certificate /etc/letsencrypt/live/${CRUPEST_DOMAIN}/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/${CRUPEST_DOMAIN}/privkey.pem; root ${CRUPEST_NGINX_ROOT}; } |