Skip to content

Commit af99d48

Browse files
committed
Fix custom config being output
1 parent aea34be commit af99d48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/templates/_certificates.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
include conf.d/include/ssl-ciphers.conf;
66
ssl_certificate /etc/letsencrypt/live/npm-{{ certificate_id }}/fullchain.pem;
77
ssl_certificate_key /etc/letsencrypt/live/npm-{{ certificate_id }}/privkey.pem;
8-
{% endif %}
8+
{% else %}
9+
# Custom SSL
910
ssl_certificate /data/custom_ssl/npm-{{ certificate_id }}/fullchain.pem;
1011
ssl_certificate_key /data/custom_ssl/npm-{{ certificate_id }}/privkey.pem;
1112
{% endif %}
13+
{% endif %}
14+

0 commit comments

Comments
 (0)