mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-09-21 01:05:00 +01:00
Merge pull request #5807 from vgoer/changes-not-taking-effect
fix: Changes not taking effect
This commit is contained in:
@@ -168,8 +168,12 @@ const internalDeadHost = {
|
||||
});
|
||||
|
||||
// Configure nginx
|
||||
const newMeta = await internalNginx.configure(deadHostModel, "dead_host", row);
|
||||
row.meta = newMeta;
|
||||
if (!thisRow.enabled) {
|
||||
// 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());
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user