mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-15 05:17:05 +00:00
certificates work
This commit is contained in:
committed by
Jamie Curnow
parent
cf417fb658
commit
3a9fc8e2ea
@@ -1,12 +1,10 @@
|
||||
{%- if certificate and certificate_id > 0 -%}
|
||||
{%- if certificate.provider == "letsencrypt" %}
|
||||
{% 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 -%}
|
||||
|
||||
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 %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user