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

15 lines
580 B
Plaintext
Raw Normal View History

2019-08-17 05:01:00 -04:00
{% if certificate and certificate_id > 0 -%}
{% if certificate.provider == "letsencrypt" %}
2018-08-16 19:25:59 -04:00
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
2019-08-17 05:01:00 -04:00
ssl_certificate /etc/letsencrypt/live/npm-{{ certificate_id }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-{{ certificate_id }}/privkey.pem;
2018-08-24 00:44:54 -04:00
{% else %}
# Custom SSL
ssl_certificate /data/custom_ssl/npm-{{ certificate_id }}/fullchain.pem;
ssl_certificate_key /data/custom_ssl/npm-{{ certificate_id }}/privkey.pem;
{% endif %}
2018-08-24 00:44:54 -04:00
{% endif %}