From 0503a6af75a43c0b2158dd6b4aa1b7930fdb9db5 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 26 Feb 2024 10:04:25 +1100 Subject: [PATCH] Fix so that nginx config is loaded after configuration happens M backend/internal/access-list.js --- backend/internal/access-list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/internal/access-list.js b/backend/internal/access-list.js index 845779278..017fc738c 100644 --- a/backend/internal/access-list.js +++ b/backend/internal/access-list.js @@ -204,7 +204,6 @@ const internalAccessList = { }); } }) - .then(internalNginx.reload) .then(() => { // Add to audit log return internalAuditLog.add(access, { @@ -227,7 +226,7 @@ const internalAccessList = { if (row.proxy_host_count) { return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts); } - }) + }).then(internalNginx.reload) .then(() => { return internalAccessList.maskItems(row); });