Change certificate paths in nginx.conf

This commit is contained in:
Lukáš Kucharczyk 2021-05-14 22:46:41 +02:00
parent f1f28a80f1
commit 979027e192
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
2 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,8 @@ http {
#gzip on;
resolver 127.0.0.11 valid=30;
ssl_certificate /etc/nginx/{{ base_domain }}.crt;
ssl_certificate_key /etc/nginx/{{ base_domain }}.key;
{% if self_signed == true %}
include /etc/nginx/snippets/self-signed.conf;
{% endif %}
include /etc/nginx/conf.d/*.conf;
}

View File

@ -0,0 +1,2 @@
ssl_certificate /etc/ssl/{{ base_domain }}.crt;
ssl_certificate_key /etc/ssl/{{ base_domain }}.key;