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