Skip to content

Commit 0503a6a

Browse files
committed
Fix so that nginx config is loaded after configuration happens
M backend/internal/access-list.js
1 parent 209c1b3 commit 0503a6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/internal/access-list.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ const internalAccessList = {
204204
});
205205
}
206206
})
207-
.then(internalNginx.reload)
208207
.then(() => {
209208
// Add to audit log
210209
return internalAuditLog.add(access, {
@@ -227,7 +226,7 @@ const internalAccessList = {
227226
if (row.proxy_host_count) {
228227
return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts);
229228
}
230-
})
229+
}).then(internalNginx.reload)
231230
.then(() => {
232231
return internalAccessList.maskItems(row);
233232
});

0 commit comments

Comments
 (0)