mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 15:43:14 +01:00
Merge pull request #5807 from vgoer/changes-not-taking-effect
fix: Changes not taking effect
This commit is contained in:
1 file changed
+6
-2
@@ -168,8 +168,12 @@ const internalDeadHost = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Configure nginx
|
// Configure nginx
|
||||||
const newMeta = await internalNginx.configure(deadHostModel, "dead_host", row);
|
if (!thisRow.enabled) {
|
||||||
row.meta = newMeta;
|
// No need to add nginx config if host is disabled
|
||||||
|
return _.omit(internalHost.cleanRowCertificateMeta(thisRow), omissions());
|
||||||
|
}
|
||||||
|
const newMeta = await internalNginx.configure(deadHostModel, "dead_host", thisRow);
|
||||||
|
thisRow.meta = newMeta;
|
||||||
return _.omit(internalHost.cleanRowCertificateMeta(thisRow), omissions());
|
return _.omit(internalHost.cleanRowCertificateMeta(thisRow), omissions());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user