Merge pull request #3584 from timob/develop

Access-List fix so that nginx config is loaded after configuration happens
This commit is contained in:
jc21 2024-02-27 11:34:52 +10:00 committed by GitHub
commit 3e1b73143e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,6 @@ const internalAccessList = {
}); });
} }
}) })
.then(internalNginx.reload)
.then(() => { .then(() => {
// Add to audit log // Add to audit log
return internalAuditLog.add(access, { return internalAuditLog.add(access, {
@ -227,7 +226,7 @@ const internalAccessList = {
if (row.proxy_host_count) { if (row.proxy_host_count) {
return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts); return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts);
} }
}) }).then(internalNginx.reload)
.then(() => { .then(() => {
return internalAccessList.maskItems(row); return internalAccessList.maskItems(row);
}); });