Skip to content

Commit

Permalink
Fix so that nginx config is loaded after configuration happens
Browse files Browse the repository at this point in the history
M	backend/internal/access-list.js
  • Loading branch information
timob committed Feb 25, 2024
1 parent 209c1b3 commit 0503a6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/internal/access-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ const internalAccessList = {
});
}
})
.then(internalNginx.reload)
.then(() => {
// Add to audit log
return internalAuditLog.add(access, {
Expand All @@ -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);
});
Expand Down

0 comments on commit 0503a6a

Please sign in to comment.