mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	updated certificate path
This commit is contained in:
		@@ -350,7 +350,7 @@ const internalCertificate = {
 | 
			
		||||
				})
 | 
			
		||||
				.then((certificate) => {
 | 
			
		||||
					if (certificate.provider === 'letsencrypt') {
 | 
			
		||||
						const zipDirectory = '/etc/letsencrypt/live/npm-' + data.id;
 | 
			
		||||
						const zipDirectory = '/etc/letsencrypt/archive/npm-' + data.id;
 | 
			
		||||
 | 
			
		||||
						if (!fs.existsSync(zipDirectory)) {
 | 
			
		||||
							throw new error.ItemNotFoundError('Certificate ' + certificate.nice_name + ' does not exists');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user