Skip to content

Commit 3e1b731

Browse files
authored
Merge pull request #3584 from timob/develop
Access-List fix so that nginx config is loaded after configuration happens
2 parents 209c1b3 + 0503a6a commit 3e1b731

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)