Files
nginx-proxy-manager/src/backend/templates/_certificates.conf
T
2018-08-17 09:25:59 +10:00

13 lines
435 B
Plaintext

{%- if certificate and certificate_id > 0 -%}
{%- if certificate.provider == "letsencrypt" %}
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-{{ certificate.id }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-{{ certificate.id }}/privkey.pem;
{%- endif -%}
# TODO: Custom SSL paths
{%- endif %}