added support for custom tls certificates
This commit is contained in:
parent
7183dcfe66
commit
5d65c9c976
2 changed files with 9 additions and 0 deletions
|
|
@ -80,5 +80,8 @@ server {
|
|||
{% if vhost.letsencrypt|d(False) %}
|
||||
ssl_certificate /etc/ssl/nginx_{{ vhost_name }}.chain.crt;
|
||||
ssl_certificate_key /etc/ssl/private/nginx_{{ vhost_name }}.key;
|
||||
{% elif vhost.crt|d(None) and vhost.key|d(None) %}
|
||||
ssl_certificate {{ vhost.crt }};
|
||||
ssl_certificate_key {{ vhost.key }};
|
||||
{% endif %}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue