mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-03 17:13:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			621 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			621 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-cache.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;
 | 
						|
{% 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 %}
 | 
						|
{% endif %}
 | 
						|
 |