nginx-proxy-manager/src/backend/templates/_certificates.conf

10 lines
427 B
Plaintext
Raw Normal View History

2019-08-17 09:01:00 +00:00
{% if certificate and certificate_id > 0 -%}
{% if certificate.provider == "letsencrypt" %}
2018-08-16 23:25:59 +00:00
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
2019-08-17 09:01:00 +00:00
ssl_certificate /etc/letsencrypt/live/npm-{{ certificate_id }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-{{ certificate_id }}/privkey.pem;
{% endif %}
2018-08-16 23:25:59 +00:00
# TODO: Custom SSL paths
2019-08-17 09:01:00 +00:00
{% endif %}